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
6bd29b52
Commit
6bd29b52
authored
Aug 26, 2021
by
shihuajun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实体类
parent
c74e5326
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
838 additions
and
0 deletions
+838
-0
ChannelRuleEntity.java
...et/distribution/service/jpa/entity/ChannelRuleEntity.java
+219
-0
FundProductEntity.java
...et/distribution/service/jpa/entity/FundProductEntity.java
+182
-0
ProductRuleEntity.java
...et/distribution/service/jpa/entity/ProductRuleEntity.java
+105
-0
RoutingRecordEntity.java
.../distribution/service/jpa/entity/RoutingRecordEntity.java
+127
-0
WhiteListEntity.java
...sset/distribution/service/jpa/entity/WhiteListEntity.java
+160
-0
IChannelRuleRepository.java
...bution/service/jpa/repository/IChannelRuleRepository.java
+9
-0
IFundProductRepository.java
...bution/service/jpa/repository/IFundProductRepository.java
+9
-0
IProductRuleRepository.java
...bution/service/jpa/repository/IProductRuleRepository.java
+9
-0
IRoutingRecordRepository.java
...tion/service/jpa/repository/IRoutingRecordRepository.java
+9
-0
IWhiteListRepository.java
...ribution/service/jpa/repository/IWhiteListRepository.java
+9
-0
No files found.
src/main/java/com/quantgroup/asset/distribution/service/jpa/entity/ChannelRuleEntity.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
entity
;
import
javax.persistence.*
;
import
java.sql.Timestamp
;
import
java.util.Objects
;
/**
* @author shihuajun
* @date 2021/8/26 17:57
* @ describing
*/
@Entity
@Table
(
name
=
"channel_rule"
,
schema
=
"asset-distribution"
)
public
class
ChannelRuleEntity
{
private
long
id
;
private
long
fundProductId
;
private
long
channelId
;
private
Byte
publishStatus
;
private
long
fundId
;
private
long
fundCorpId
;
private
String
fundName
;
private
String
fundType
;
private
String
orgType
;
private
String
businessType
;
private
int
creditResult
;
private
String
userTag
;
private
String
userLevel
;
private
int
priority
;
private
Byte
enable
;
private
Timestamp
createdAt
;
private
Timestamp
updatedAt
;
@Id
@Column
(
name
=
"id"
,
nullable
=
false
)
public
long
getId
()
{
return
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
@Basic
@Column
(
name
=
"fund_product_id"
,
nullable
=
false
)
public
long
getFundProductId
()
{
return
fundProductId
;
}
public
void
setFundProductId
(
long
fundProductId
)
{
this
.
fundProductId
=
fundProductId
;
}
@Basic
@Column
(
name
=
"channel_id"
,
nullable
=
false
)
public
long
getChannelId
()
{
return
channelId
;
}
public
void
setChannelId
(
long
channelId
)
{
this
.
channelId
=
channelId
;
}
@Basic
@Column
(
name
=
"publish_status"
,
nullable
=
true
)
public
Byte
getPublishStatus
()
{
return
publishStatus
;
}
public
void
setPublishStatus
(
Byte
publishStatus
)
{
this
.
publishStatus
=
publishStatus
;
}
@Basic
@Column
(
name
=
"fund_id"
,
nullable
=
false
)
public
long
getFundId
()
{
return
fundId
;
}
public
void
setFundId
(
long
fundId
)
{
this
.
fundId
=
fundId
;
}
@Basic
@Column
(
name
=
"fund_corp_id"
,
nullable
=
false
)
public
long
getFundCorpId
()
{
return
fundCorpId
;
}
public
void
setFundCorpId
(
long
fundCorpId
)
{
this
.
fundCorpId
=
fundCorpId
;
}
@Basic
@Column
(
name
=
"fund_name"
,
nullable
=
false
,
length
=
100
)
public
String
getFundName
()
{
return
fundName
;
}
public
void
setFundName
(
String
fundName
)
{
this
.
fundName
=
fundName
;
}
@Basic
@Column
(
name
=
"fund_type"
,
nullable
=
false
,
length
=
20
)
public
String
getFundType
()
{
return
fundType
;
}
public
void
setFundType
(
String
fundType
)
{
this
.
fundType
=
fundType
;
}
@Basic
@Column
(
name
=
"org_type"
,
nullable
=
false
,
length
=
20
)
public
String
getOrgType
()
{
return
orgType
;
}
public
void
setOrgType
(
String
orgType
)
{
this
.
orgType
=
orgType
;
}
@Basic
@Column
(
name
=
"business_type"
,
nullable
=
false
,
length
=
20
)
public
String
getBusinessType
()
{
return
businessType
;
}
public
void
setBusinessType
(
String
businessType
)
{
this
.
businessType
=
businessType
;
}
@Basic
@Column
(
name
=
"credit_result"
,
nullable
=
false
)
public
int
getCreditResult
()
{
return
creditResult
;
}
public
void
setCreditResult
(
int
creditResult
)
{
this
.
creditResult
=
creditResult
;
}
@Basic
@Column
(
name
=
"user_tag"
,
nullable
=
false
,
length
=
500
)
public
String
getUserTag
()
{
return
userTag
;
}
public
void
setUserTag
(
String
userTag
)
{
this
.
userTag
=
userTag
;
}
@Basic
@Column
(
name
=
"user_level"
,
nullable
=
false
,
length
=
500
)
public
String
getUserLevel
()
{
return
userLevel
;
}
public
void
setUserLevel
(
String
userLevel
)
{
this
.
userLevel
=
userLevel
;
}
@Basic
@Column
(
name
=
"priority"
,
nullable
=
false
)
public
int
getPriority
()
{
return
priority
;
}
public
void
setPriority
(
int
priority
)
{
this
.
priority
=
priority
;
}
@Basic
@Column
(
name
=
"enable"
,
nullable
=
true
)
public
Byte
getEnable
()
{
return
enable
;
}
public
void
setEnable
(
Byte
enable
)
{
this
.
enable
=
enable
;
}
@Basic
@Column
(
name
=
"created_at"
,
nullable
=
false
)
public
Timestamp
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Timestamp
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
@Basic
@Column
(
name
=
"updated_at"
,
nullable
=
false
)
public
Timestamp
getUpdatedAt
()
{
return
updatedAt
;
}
public
void
setUpdatedAt
(
Timestamp
updatedAt
)
{
this
.
updatedAt
=
updatedAt
;
}
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
{
return
true
;
}
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
{
return
false
;
}
ChannelRuleEntity
that
=
(
ChannelRuleEntity
)
o
;
return
id
==
that
.
id
&&
fundProductId
==
that
.
fundProductId
&&
channelId
==
that
.
channelId
&&
fundId
==
that
.
fundId
&&
fundCorpId
==
that
.
fundCorpId
&&
creditResult
==
that
.
creditResult
&&
priority
==
that
.
priority
&&
Objects
.
equals
(
publishStatus
,
that
.
publishStatus
)
&&
Objects
.
equals
(
fundName
,
that
.
fundName
)
&&
Objects
.
equals
(
fundType
,
that
.
fundType
)
&&
Objects
.
equals
(
orgType
,
that
.
orgType
)
&&
Objects
.
equals
(
businessType
,
that
.
businessType
)
&&
Objects
.
equals
(
userTag
,
that
.
userTag
)
&&
Objects
.
equals
(
userLevel
,
that
.
userLevel
)
&&
Objects
.
equals
(
enable
,
that
.
enable
)
&&
Objects
.
equals
(
createdAt
,
that
.
createdAt
)
&&
Objects
.
equals
(
updatedAt
,
that
.
updatedAt
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
fundProductId
,
channelId
,
publishStatus
,
fundId
,
fundCorpId
,
fundName
,
fundType
,
orgType
,
businessType
,
creditResult
,
userTag
,
userLevel
,
priority
,
enable
,
createdAt
,
updatedAt
);
}
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/entity/FundProductEntity.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
entity
;
import
javax.persistence.*
;
import
java.sql.Timestamp
;
import
java.util.Objects
;
/**
* @author shihuajun
* @date 2021/8/26 17:57
* @ describing
*/
@Entity
@Table
(
name
=
"fund_product"
,
schema
=
"asset-distribution"
)
public
class
FundProductEntity
{
private
long
id
;
private
long
fundId
;
private
long
fundCorpId
;
private
String
fundName
;
private
String
fundType
;
private
String
orgType
;
private
String
businessType
;
private
String
systermType
;
private
String
basicRule
;
private
String
otherRule
;
private
String
ruleList
;
private
Byte
enable
;
private
Timestamp
createdAt
;
private
Timestamp
updatedAt
;
@Id
@Column
(
name
=
"id"
,
nullable
=
false
)
public
long
getId
()
{
return
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
@Basic
@Column
(
name
=
"fund_id"
,
nullable
=
false
)
public
long
getFundId
()
{
return
fundId
;
}
public
void
setFundId
(
long
fundId
)
{
this
.
fundId
=
fundId
;
}
@Basic
@Column
(
name
=
"fund_corp_id"
,
nullable
=
false
)
public
long
getFundCorpId
()
{
return
fundCorpId
;
}
public
void
setFundCorpId
(
long
fundCorpId
)
{
this
.
fundCorpId
=
fundCorpId
;
}
@Basic
@Column
(
name
=
"fund_name"
,
nullable
=
false
,
length
=
100
)
public
String
getFundName
()
{
return
fundName
;
}
public
void
setFundName
(
String
fundName
)
{
this
.
fundName
=
fundName
;
}
@Basic
@Column
(
name
=
"fund_type"
,
nullable
=
false
,
length
=
20
)
public
String
getFundType
()
{
return
fundType
;
}
public
void
setFundType
(
String
fundType
)
{
this
.
fundType
=
fundType
;
}
@Basic
@Column
(
name
=
"org_type"
,
nullable
=
false
,
length
=
20
)
public
String
getOrgType
()
{
return
orgType
;
}
public
void
setOrgType
(
String
orgType
)
{
this
.
orgType
=
orgType
;
}
@Basic
@Column
(
name
=
"business_type"
,
nullable
=
false
,
length
=
20
)
public
String
getBusinessType
()
{
return
businessType
;
}
public
void
setBusinessType
(
String
businessType
)
{
this
.
businessType
=
businessType
;
}
@Basic
@Column
(
name
=
"systerm_type"
,
nullable
=
false
,
length
=
20
)
public
String
getSystermType
()
{
return
systermType
;
}
public
void
setSystermType
(
String
systermType
)
{
this
.
systermType
=
systermType
;
}
@Basic
@Column
(
name
=
"basic_rule"
,
nullable
=
false
,
length
=
500
)
public
String
getBasicRule
()
{
return
basicRule
;
}
public
void
setBasicRule
(
String
basicRule
)
{
this
.
basicRule
=
basicRule
;
}
@Basic
@Column
(
name
=
"other_rule"
,
nullable
=
false
,
length
=
500
)
public
String
getOtherRule
()
{
return
otherRule
;
}
public
void
setOtherRule
(
String
otherRule
)
{
this
.
otherRule
=
otherRule
;
}
@Basic
@Column
(
name
=
"rule_list"
,
nullable
=
false
,
length
=
500
)
public
String
getRuleList
()
{
return
ruleList
;
}
public
void
setRuleList
(
String
ruleList
)
{
this
.
ruleList
=
ruleList
;
}
@Basic
@Column
(
name
=
"enable"
,
nullable
=
true
)
public
Byte
getEnable
()
{
return
enable
;
}
public
void
setEnable
(
Byte
enable
)
{
this
.
enable
=
enable
;
}
@Basic
@Column
(
name
=
"created_at"
,
nullable
=
false
)
public
Timestamp
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Timestamp
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
@Basic
@Column
(
name
=
"updated_at"
,
nullable
=
false
)
public
Timestamp
getUpdatedAt
()
{
return
updatedAt
;
}
public
void
setUpdatedAt
(
Timestamp
updatedAt
)
{
this
.
updatedAt
=
updatedAt
;
}
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
FundProductEntity
that
=
(
FundProductEntity
)
o
;
return
id
==
that
.
id
&&
fundId
==
that
.
fundId
&&
fundCorpId
==
that
.
fundCorpId
&&
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
(
otherRule
,
that
.
otherRule
)
&&
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
,
fundCorpId
,
fundName
,
fundType
,
orgType
,
businessType
,
systermType
,
basicRule
,
otherRule
,
ruleList
,
enable
,
createdAt
,
updatedAt
);
}
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/entity/ProductRuleEntity.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
entity
;
import
javax.persistence.*
;
import
java.sql.Timestamp
;
import
java.util.Objects
;
/**
* @author shihuajun
* @date 2021/8/26 17:57
* @ describing
*/
@Entity
@Table
(
name
=
"product_rule"
,
schema
=
"asset-distribution"
)
public
class
ProductRuleEntity
{
private
long
id
;
private
String
ruleName
;
private
String
ruleEnglish
;
private
String
ruleChinese
;
private
Byte
enable
;
private
Timestamp
createdAt
;
private
Timestamp
updatedAt
;
@Id
@Column
(
name
=
"id"
,
nullable
=
false
)
public
long
getId
()
{
return
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
@Basic
@Column
(
name
=
"rule_name"
,
nullable
=
false
,
length
=
50
)
public
String
getRuleName
()
{
return
ruleName
;
}
public
void
setRuleName
(
String
ruleName
)
{
this
.
ruleName
=
ruleName
;
}
@Basic
@Column
(
name
=
"rule_english"
,
nullable
=
false
,
length
=
50
)
public
String
getRuleEnglish
()
{
return
ruleEnglish
;
}
public
void
setRuleEnglish
(
String
ruleEnglish
)
{
this
.
ruleEnglish
=
ruleEnglish
;
}
@Basic
@Column
(
name
=
"rule_chinese"
,
nullable
=
false
,
length
=
50
)
public
String
getRuleChinese
()
{
return
ruleChinese
;
}
public
void
setRuleChinese
(
String
ruleChinese
)
{
this
.
ruleChinese
=
ruleChinese
;
}
@Basic
@Column
(
name
=
"enable"
,
nullable
=
true
)
public
Byte
getEnable
()
{
return
enable
;
}
public
void
setEnable
(
Byte
enable
)
{
this
.
enable
=
enable
;
}
@Basic
@Column
(
name
=
"created_at"
,
nullable
=
false
)
public
Timestamp
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Timestamp
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
@Basic
@Column
(
name
=
"updated_at"
,
nullable
=
false
)
public
Timestamp
getUpdatedAt
()
{
return
updatedAt
;
}
public
void
setUpdatedAt
(
Timestamp
updatedAt
)
{
this
.
updatedAt
=
updatedAt
;
}
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
ProductRuleEntity
that
=
(
ProductRuleEntity
)
o
;
return
id
==
that
.
id
&&
Objects
.
equals
(
ruleName
,
that
.
ruleName
)
&&
Objects
.
equals
(
ruleEnglish
,
that
.
ruleEnglish
)
&&
Objects
.
equals
(
ruleChinese
,
that
.
ruleChinese
)
&&
Objects
.
equals
(
enable
,
that
.
enable
)
&&
Objects
.
equals
(
createdAt
,
that
.
createdAt
)
&&
Objects
.
equals
(
updatedAt
,
that
.
updatedAt
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
ruleName
,
ruleEnglish
,
ruleChinese
,
enable
,
createdAt
,
updatedAt
);
}
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/entity/RoutingRecordEntity.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
entity
;
import
javax.persistence.*
;
import
java.sql.Timestamp
;
import
java.util.Objects
;
/**
* @author shihuajun
* @date 2021/8/26 17:57
* @ describing
*/
@Entity
@Table
(
name
=
"routing_record"
,
schema
=
"asset-distribution"
)
public
class
RoutingRecordEntity
{
private
long
id
;
private
String
phone
;
private
String
uuid
;
private
String
creditNo
;
private
Byte
status
;
private
String
routedResult
;
private
Timestamp
routedAt
;
private
Timestamp
createdAt
;
private
Timestamp
updatedAt
;
@Id
@Column
(
name
=
"id"
,
nullable
=
false
)
public
long
getId
()
{
return
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
@Basic
@Column
(
name
=
"phone"
,
nullable
=
false
,
length
=
20
)
public
String
getPhone
()
{
return
phone
;
}
public
void
setPhone
(
String
phone
)
{
this
.
phone
=
phone
;
}
@Basic
@Column
(
name
=
"uuid"
,
nullable
=
false
,
length
=
50
)
public
String
getUuid
()
{
return
uuid
;
}
public
void
setUuid
(
String
uuid
)
{
this
.
uuid
=
uuid
;
}
@Basic
@Column
(
name
=
"credit_no"
,
nullable
=
false
,
length
=
50
)
public
String
getCreditNo
()
{
return
creditNo
;
}
public
void
setCreditNo
(
String
creditNo
)
{
this
.
creditNo
=
creditNo
;
}
@Basic
@Column
(
name
=
"status"
,
nullable
=
true
)
public
Byte
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Byte
status
)
{
this
.
status
=
status
;
}
@Basic
@Column
(
name
=
"routed_result"
,
nullable
=
false
,
length
=
2000
)
public
String
getRoutedResult
()
{
return
routedResult
;
}
public
void
setRoutedResult
(
String
routedResult
)
{
this
.
routedResult
=
routedResult
;
}
@Basic
@Column
(
name
=
"routed_at"
,
nullable
=
false
)
public
Timestamp
getRoutedAt
()
{
return
routedAt
;
}
public
void
setRoutedAt
(
Timestamp
routedAt
)
{
this
.
routedAt
=
routedAt
;
}
@Basic
@Column
(
name
=
"created_at"
,
nullable
=
false
)
public
Timestamp
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Timestamp
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
@Basic
@Column
(
name
=
"updated_at"
,
nullable
=
false
)
public
Timestamp
getUpdatedAt
()
{
return
updatedAt
;
}
public
void
setUpdatedAt
(
Timestamp
updatedAt
)
{
this
.
updatedAt
=
updatedAt
;
}
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
RoutingRecordEntity
that
=
(
RoutingRecordEntity
)
o
;
return
id
==
that
.
id
&&
Objects
.
equals
(
phone
,
that
.
phone
)
&&
Objects
.
equals
(
uuid
,
that
.
uuid
)
&&
Objects
.
equals
(
creditNo
,
that
.
creditNo
)
&&
Objects
.
equals
(
status
,
that
.
status
)
&&
Objects
.
equals
(
routedResult
,
that
.
routedResult
)
&&
Objects
.
equals
(
routedAt
,
that
.
routedAt
)
&&
Objects
.
equals
(
createdAt
,
that
.
createdAt
)
&&
Objects
.
equals
(
updatedAt
,
that
.
updatedAt
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
phone
,
uuid
,
creditNo
,
status
,
routedResult
,
routedAt
,
createdAt
,
updatedAt
);
}
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/entity/WhiteListEntity.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
entity
;
import
javax.persistence.*
;
import
java.sql.Timestamp
;
import
java.util.Objects
;
/**
* @author shihuajun
* @date 2021/8/26 17:57
* @ describing
*/
@Entity
@Table
(
name
=
"white_list"
,
schema
=
"asset-distribution"
)
public
class
WhiteListEntity
{
private
long
id
;
private
long
fundProductId
;
private
String
phone
;
private
long
fundId
;
private
long
fundCorpId
;
private
String
fundName
;
private
String
fundType
;
private
String
orgType
;
private
String
businessType
;
private
Byte
status
;
private
Timestamp
createdAt
;
private
Timestamp
updatedAt
;
@Id
@Column
(
name
=
"id"
,
nullable
=
false
)
public
long
getId
()
{
return
id
;
}
public
void
setId
(
long
id
)
{
this
.
id
=
id
;
}
@Basic
@Column
(
name
=
"fund_product_id"
,
nullable
=
false
)
public
long
getFundProductId
()
{
return
fundProductId
;
}
public
void
setFundProductId
(
long
fundProductId
)
{
this
.
fundProductId
=
fundProductId
;
}
@Basic
@Column
(
name
=
"phone"
,
nullable
=
true
,
length
=
20
)
public
String
getPhone
()
{
return
phone
;
}
public
void
setPhone
(
String
phone
)
{
this
.
phone
=
phone
;
}
@Basic
@Column
(
name
=
"fund_id"
,
nullable
=
false
)
public
long
getFundId
()
{
return
fundId
;
}
public
void
setFundId
(
long
fundId
)
{
this
.
fundId
=
fundId
;
}
@Basic
@Column
(
name
=
"fund_corp_id"
,
nullable
=
false
)
public
long
getFundCorpId
()
{
return
fundCorpId
;
}
public
void
setFundCorpId
(
long
fundCorpId
)
{
this
.
fundCorpId
=
fundCorpId
;
}
@Basic
@Column
(
name
=
"fund_name"
,
nullable
=
false
,
length
=
100
)
public
String
getFundName
()
{
return
fundName
;
}
public
void
setFundName
(
String
fundName
)
{
this
.
fundName
=
fundName
;
}
@Basic
@Column
(
name
=
"fund_type"
,
nullable
=
false
,
length
=
20
)
public
String
getFundType
()
{
return
fundType
;
}
public
void
setFundType
(
String
fundType
)
{
this
.
fundType
=
fundType
;
}
@Basic
@Column
(
name
=
"org_type"
,
nullable
=
false
,
length
=
20
)
public
String
getOrgType
()
{
return
orgType
;
}
public
void
setOrgType
(
String
orgType
)
{
this
.
orgType
=
orgType
;
}
@Basic
@Column
(
name
=
"business_type"
,
nullable
=
false
,
length
=
20
)
public
String
getBusinessType
()
{
return
businessType
;
}
public
void
setBusinessType
(
String
businessType
)
{
this
.
businessType
=
businessType
;
}
@Basic
@Column
(
name
=
"status"
,
nullable
=
true
)
public
Byte
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Byte
status
)
{
this
.
status
=
status
;
}
@Basic
@Column
(
name
=
"created_at"
,
nullable
=
false
)
public
Timestamp
getCreatedAt
()
{
return
createdAt
;
}
public
void
setCreatedAt
(
Timestamp
createdAt
)
{
this
.
createdAt
=
createdAt
;
}
@Basic
@Column
(
name
=
"updated_at"
,
nullable
=
false
)
public
Timestamp
getUpdatedAt
()
{
return
updatedAt
;
}
public
void
setUpdatedAt
(
Timestamp
updatedAt
)
{
this
.
updatedAt
=
updatedAt
;
}
@Override
public
boolean
equals
(
Object
o
)
{
if
(
this
==
o
)
return
true
;
if
(
o
==
null
||
getClass
()
!=
o
.
getClass
())
return
false
;
WhiteListEntity
that
=
(
WhiteListEntity
)
o
;
return
id
==
that
.
id
&&
fundProductId
==
that
.
fundProductId
&&
fundId
==
that
.
fundId
&&
fundCorpId
==
that
.
fundCorpId
&&
Objects
.
equals
(
phone
,
that
.
phone
)
&&
Objects
.
equals
(
fundName
,
that
.
fundName
)
&&
Objects
.
equals
(
fundType
,
that
.
fundType
)
&&
Objects
.
equals
(
orgType
,
that
.
orgType
)
&&
Objects
.
equals
(
businessType
,
that
.
businessType
)
&&
Objects
.
equals
(
status
,
that
.
status
)
&&
Objects
.
equals
(
createdAt
,
that
.
createdAt
)
&&
Objects
.
equals
(
updatedAt
,
that
.
updatedAt
);
}
@Override
public
int
hashCode
()
{
return
Objects
.
hash
(
id
,
fundProductId
,
phone
,
fundId
,
fundCorpId
,
fundName
,
fundType
,
orgType
,
businessType
,
status
,
createdAt
,
updatedAt
);
}
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/repository/IChannelRuleRepository.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
repository
;
import
com.quantgroup.asset.distribution.service.jpa.entity.ChannelRuleEntity
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
IChannelRuleRepository
extends
JpaRepository
<
ChannelRuleEntity
,
Long
>{
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/repository/IFundProductRepository.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
repository
;
import
com.quantgroup.asset.distribution.service.jpa.entity.FundProductEntity
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
IFundProductRepository
extends
JpaRepository
<
FundProductEntity
,
Long
>{
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/repository/IProductRuleRepository.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
repository
;
import
com.quantgroup.asset.distribution.service.jpa.entity.ProductRuleEntity
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
IProductRuleRepository
extends
JpaRepository
<
ProductRuleEntity
,
Long
>{
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/repository/IRoutingRecordRepository.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
repository
;
import
com.quantgroup.asset.distribution.service.jpa.entity.RoutingRecordEntity
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
IRoutingRecordRepository
extends
JpaRepository
<
RoutingRecordEntity
,
Long
>{
}
src/main/java/com/quantgroup/asset/distribution/service/jpa/repository/IWhiteListRepository.java
0 → 100644
View file @
6bd29b52
package
com
.
quantgroup
.
asset
.
distribution
.
service
.
jpa
.
repository
;
import
com.quantgroup.asset.distribution.service.jpa.entity.WhiteListEntity
;
import
org.springframework.data.jpa.repository.JpaRepository
;
public
interface
IWhiteListRepository
extends
JpaRepository
<
WhiteListEntity
,
Long
>{
}
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