Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
996b5748
Commit
996b5748
authored
Dec 28, 2023
by
覃振观
👶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Entity 属性遗漏
parent
1542e0d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
ProductFace.java
...in/java/com/huigou/topsun/product/domain/ProductFace.java
+12
-4
No files found.
topsun/src/main/java/com/huigou/topsun/product/domain/ProductFace.java
View file @
996b5748
...
...
@@ -7,10 +7,7 @@ import com.huigou.topsun.common.NumberToStringSerializer;
import
org.apache.commons.lang.builder.EqualsBuilder
;
import
org.apache.commons.lang.builder.HashCodeBuilder
;
import
javax.persistence.Column
;
import
javax.persistence.Entity
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
javax.persistence.*
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
...
...
@@ -38,6 +35,9 @@ public class ProductFace implements Serializable {
@Column
(
name
=
"product_image"
,
nullable
=
true
,
length
=
512
)
private
String
productImage
;
@Transient
private
Boolean
isBack
;
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
...
...
@@ -66,4 +66,12 @@ public class ProductFace implements Serializable {
public
void
setProductImage
(
String
productImage
)
{
this
.
productImage
=
productImage
;
}
public
Boolean
getBack
()
{
return
isBack
;
}
public
void
setBack
(
Boolean
back
)
{
isBack
=
back
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment