-
Notifications
You must be signed in to change notification settings - Fork 0
/
sm_extensions.jh
101 lines (96 loc) · 2.15 KB
/
sm_extensions.jh
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
application {
config {
baseName SimpleRishta,
applicationType microservice,
packageName com.simplerishta.cms,
authenticationType jwt,
prodDatabaseType postgresql,
buildTool maven
}
entities *
}
entity PaymentType{
typeName String maxlength(50) required
createdBy String maxlength(30) required
createdAt Instant required
updatedAt Instant
}
entity PaymentFrequency{
paymentFrequency String maxlength(100) required
createdBy String maxlength(30) required
createdAt Instant required
updatedAt Instant
}
entity Packages{
name String maxlength(200) required
createdBy String maxlength(30) required
createdAt Instant required
updatedAt Instant
}
entity Tariff{
tariffCode String maxlength(150) required
price Double required
duration Integer
createdAt Instant required
updatedAt Instant
}
entity PackageQuotas{
numberOfProfileViews Integer
numberOfConversations Integer
numberOfRequestSent Integer
createdAt Instant required
updatedAt Instant
}
entity Country{
name String
urduName String
}
relationship ManyToOne{
Tariff {packages(id)} to Packages
PackageQuotas{packageQuotas(id)} to Packages
Tariff{country(name)} to Country
JazzCashPayment {payments(id)} to Payments
UserTariff {tariff(id)} to Tariff
UserTariff {payments(id)} to Payments
}
entity UserTariff {
}
entity Payments{
transactionType String required
paymentProvider String required
transactionTime Instant
amount Double
paymentType String
txnReferenceNumber String
responseCode String
status String
providerReferenceNumber String
createdAt Instant required
updatedAt Instant
}
entity JazzCashPayment{
ppAmount String
ppAuthCode String
ppBankID String
ppBillReference String
ppLanguage String
ppMerchantID String
ppResponseCode String
ppResponseMessage String
ppRetreivalReferenceNo String
ppSecureHash String
ppSettlementExpiry String
ppSubMerchantId String
ppTxnCurrency String
ppTxnDateTime String
ppTxnRefNo String
ppTxnType String
ppVersion String
ppmbf1 String
ppmbf2 String
ppmbf3 String
ppmbf4 String
ppmbf5 String
}
service * with serviceClass
dto all with mapstruct