-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.jdl
More file actions
232 lines (215 loc) · 5.25 KB
/
.jdl
File metadata and controls
232 lines (215 loc) · 5.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
entity Product {
borrower Long,
contractNo String,
contractId String,
productsType String,
title String,
shortName String,
hits Integer,
state ProductState,
litpicFileId String,
cancelTime Instant,
cancelRemark String,
commentStatus String,
assignment Integer,
assignmentId Integer,
originInfo Integer,
frozenRequestNo String,
productsGroupId Integer,
confine String,
auditInfo Integer,
auditInfoId Integer,
autoFinancePublishValidTime Integer,
createdBy String,
createdDate Instant,
lastModifiedBy String,
lastModifiedDate Instant,
amount BigDecimal,
interestRate BigDecimal,
validDay Integer,
publishDate Instant,
startDate Instant,
endDate Instant,
successDate Instant,
startInterestDate Instant,
repayType String,
periodType InterestCalculationPeriod,
period Integer,
repayTimes Integer,
manageFee BigDecimal,
manageFeeScale BigDecimal,
partialAllowed Boolean,
fulfilled Boolean,
amountTendered BigDecimal,
amountWait BigDecimal,
amountScale BigDecimal,
minTenderAmount BigDecimal,
maxTenderAmount BigDecimal,
tenderAwardFlg String,
tenderFailureAwardFlg String,
tenderAwardAmount BigDecimal,
tenderAwardScale BigDecimal,
directionalPwd String,
secondFlg String,
dueinAmount BigDecimal,
dueinAmount BigDecimal,
investTotalAmount BigDecimal,
wanderFlg String,
tenderAutoPaymentFlg String,
partAmount BigDecimal,
maxPart Integer,
tenderMaxTimes Integer,
prepaymentFlg String,
prepaymentInterestMinDays Integer,
prepaymentMinAmount BigDecimal,
prepaymentMaxTimes Integer,
guaranteeType String,
guaranteeOthers String,
serviceFeeType String,
serviceFee BigDecimal,
parkingFee BigDecimal,
fullDate Instant,
noviceFlg String,
interestCalculation InterestCalculation,
interestCalculationRatio BigDecimal,
lastReplayDate Instant,
transferCanFlg String,
transferFrozeTime Integer,
minIncreasingAmount BigDecimal,
ver String,
idCardCheckFlg String,
marriageCheckFlg String,
householdCheckFlg String,
credibilityCheckFlg String,
guaranteeCheckFlg String,
purpose String maxlength(1024),
estateCheckFlg String,
guaranteeId String
}
entity ProductSpec {
category ProductCategory,
name String,
startInterestType String,
startInterestTime String,
repayTimeType String,
principalAssignAccounts String,
principalSpecialAccountsId String,
interestAssignAccounts String,
interestSpecialAccountsId String,
bail String,
bailAmount BigDecimal,
productJoinCost String,
joinCost BigDecimal,
productExitCost String,
exitCost BigDecimal,
fileContractId String,
imgViewId String,
struts String,
productsDescription String maxlength(1024),
delFlag Boolean,
pubDate Instant,
dayRateCalculation String,
prodFlg String,
extendAttribute String,
createdBy String,
createdDate Instant,
lastModifiedBy String,
lastModifiedDate Instant
}
entity ProductType {
name String,
desc String,
blockType BlockType,
imageUrl String,
imageUrl String,
mobileImageUrl String,
delFlag Boolean,
createdBy String,
createdDate Instant,
lastModifiedBy String,
lastModifiedDate Instant
}
entity Activity {
activityName String,
beginTime Instant,
endTime Instant,
activityType ActivityType,
cashId Integer,
activityRate BigDecimal,
extraRate BigDecimal,
activityTab String,
activityDesc String maxlength(1024),
delFlag Boolean,
imageUrl String,
createdBy String,
createdDate Instant,
lastModifiedBy String,
lastModifiedDate Instant
}
relationship ManyToOne {
Product{spec} to ProductSpec
}
relationship ManyToOne {
Product{activity} to Activity
}
relationship ManyToOne {
Product{type} to ProductType
}
enum ProductState {
PENDING, CHECKED, PUBLISHED, APPROVED, COMPLETED, REFUSED, CANCELED, FAILED
}
enum ProductCategory {
FINANCING, DEBT
}
enum BlockType {
DEFAULT, NOVICE, APP, ACTIVITY
}
entity OriginEnterprise {
CompanyName String,
AbbrCompanyName String,
RegisteredCapital String,
LegalPerson String,
BusinessNum String,
industry String,
earning String,
SimpleDesc String,
CompanyIntroduce String maxlength(2048),
BusinessChecked Boolean,
LegalCardChecked Boolean,
BondingChecked Boolean,
PlatformChecked Boolean,
AddressChecked Boolean,
createdBy String,
createdDate Instant,
lastModifiedBy String,
lastModifiedDate Instant
}
entity OriginIndividual {
RealName String,
AbbrName String,
IdCard String,
Mobile String,
Gender Integer,
Age Integer,
Purpose String maxlength(2048),
createdBy String,
createdDate Instant,
lastModifiedBy String,
lastModifiedDate Instant
}
relationship OneToOne {
Product{originEnterprise} to OriginEnterprise
}
relationship OneToOne {
Product{originIndividual} to OriginIndividual
}
enum ActivityType {
CASH, INTEREST, RATE, OTHER
}
enum InterestCalculationPeriod {
MONTH, DAY
}
paginate Product with pager
enum InterestCalculation {
MANUAL, AUTO, RATIO
}