Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
bf4df0c5
Commit
bf4df0c5
authored
Sep 12, 2021
by
shihuajun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加字段
parent
e14a908d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
FundProductEntity.java
...et/distribution/service/jpa/entity/FundProductEntity.java
+14
-3
No files found.
src/main/java/com/quantgroup/asset/distribution/service/jpa/entity/FundProductEntity.java
View file @
bf4df0c5
...
...
@@ -6,7 +6,7 @@ import java.util.Objects;
/**
* @author shihuajun
* @date 2021/9/
7 15:57
* @date 2021/9/
12 14:33
* @ describing
*/
@Entity
...
...
@@ -23,6 +23,7 @@ public class FundProductEntity {
private
String
basicRule
;
private
int
areaTerm
;
private
int
cardLimit
;
private
String
telRule
;
private
String
areaRule
;
private
String
ruleList
;
private
Byte
enable
;
...
...
@@ -139,6 +140,16 @@ public class FundProductEntity {
this
.
cardLimit
=
cardLimit
;
}
@Basic
@Column
(
name
=
"tel_rule"
,
nullable
=
false
,
length
=
500
)
public
String
getTelRule
()
{
return
telRule
;
}
public
void
setTelRule
(
String
telRule
)
{
this
.
telRule
=
telRule
;
}
@Basic
@Column
(
name
=
"area_rule"
,
nullable
=
false
,
length
=
500
)
public
String
getAreaRule
()
{
...
...
@@ -194,11 +205,11 @@ public class FundProductEntity {
if
(
this
==
o
)
return
true
;
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
FundProductEntity
that
=
(
FundProductEntity
)
o
;
return
id
==
that
.
id
&&
fundId
==
that
.
fundId
&&
fundProId
==
that
.
fundProId
&&
areaTerm
==
that
.
areaTerm
&&
cardLimit
==
that
.
cardLimit
&&
Objects
.
equals
(
fundName
,
that
.
fundName
)
&&
Objects
.
equals
(
fundType
,
that
.
fundType
)
&&
Objects
.
equals
(
orgType
,
that
.
orgType
)
&&
Objects
.
equals
(
businessType
,
that
.
businessType
)
&&
Objects
.
equals
(
systermType
,
that
.
systermType
)
&&
Objects
.
equals
(
basicRule
,
that
.
basicRule
)
&&
Objects
.
equals
(
areaRule
,
that
.
areaRule
)
&&
Objects
.
equals
(
ruleList
,
that
.
ruleList
)
&&
Objects
.
equals
(
enable
,
that
.
enable
)
&&
Objects
.
equals
(
createdAt
,
that
.
createdAt
)
&&
Objects
.
equals
(
updatedAt
,
that
.
updatedAt
);
return
id
==
that
.
id
&&
fundId
==
that
.
fundId
&&
fundProId
==
that
.
fundProId
&&
areaTerm
==
that
.
areaTerm
&&
cardLimit
==
that
.
cardLimit
&&
Objects
.
equals
(
fundName
,
that
.
fundName
)
&&
Objects
.
equals
(
fundType
,
that
.
fundType
)
&&
Objects
.
equals
(
orgType
,
that
.
orgType
)
&&
Objects
.
equals
(
businessType
,
that
.
businessType
)
&&
Objects
.
equals
(
systermType
,
that
.
systermType
)
&&
Objects
.
equals
(
basicRule
,
that
.
basicRule
)
&&
Objects
.
equals
(
telRule
,
that
.
telRule
)
&&
Objects
.
equals
(
areaRule
,
that
.
areaRule
)
&&
Objects
.
equals
(
ruleList
,
that
.
ruleList
)
&&
Objects
.
equals
(
enable
,
that
.
enable
)
&&
Objects
.
equals
(
createdAt
,
that
.
createdAt
)
&&
Objects
.
equals
(
updatedAt
,
that
.
updatedAt
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
fundId
,
fundProId
,
fundName
,
fundType
,
orgType
,
businessType
,
systermType
,
basicRule
,
areaTerm
,
cardLimit
,
areaRule
,
ruleList
,
enable
,
createdAt
,
updatedAt
);
return
Objects
.
hash
(
id
,
fundId
,
fundProId
,
fundName
,
fundType
,
orgType
,
businessType
,
systermType
,
basicRule
,
areaTerm
,
cardLimit
,
telRule
,
areaRule
,
ruleList
,
enable
,
createdAt
,
updatedAt
);
}
}
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