-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjhipster-jdl-v2.jh
More file actions
148 lines (125 loc) · 2.47 KB
/
jhipster-jdl-v2.jh
File metadata and controls
148 lines (125 loc) · 2.47 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
entity Merkez {
adi String required
}
entity Kurye {
statu KURYE_STATU required
}
entity KuryeGecmisi{
zaman Instant required,
statu KURYE_STATU required
}
entity Adres {
bbk String,
ickapiNo String,
diskapiNo String,
site String,
sokak String,
cadde String,
semt String,
adresTarifi String
}
entity Ilce{
ad String required
}
entity Il{
ad String required
}
entity Mahalle{
adi String required,
postaKodu String,
semt String
}
entity GPSLokasyon {
enlem String required,
boylam String required
}
entity Isyeri {
adi String required,
telefon String required,
aciklama String
}
entity Musteri{
unvan String required,
eposta String required,
telefon String required,
}
entity Isci {
adi String,
soyadi String,
eposta String,
telefon String,
teminatTutari Long,
maas Long,
sicil String,
tckn String,
zimmetliMallar String
}
entity Motor{
numarasi String,
marka String,
model String,
yil String
}
entity Emir{
statu EMIR_STATU required
}
entity EmirGecmisi{
zaman Instant required,
statu EMIR_STATU required
}
entity Fatura{
yil String required,
ay String required
}
enum EMIR_STATU{
HAZIR, DAGITIMDA, TESLIM_EDILDI,
IPTAL, CEZA
}
enum KURYE_STATU{
HAZIR, CALISMIYOR,
DAGITIMA_CIKTI,
TESLIM_ALINIYOR, DAGITIMDA,
MERKEZE_DONUYOR
}
enum BOYUT {
1, 2, 3, 4, 5
}
relationship OneToOne {
Kurye{merkez} to Merkez,
Kurye{isci} to Isci,
Kurye{gpsLokasyon} to GPSLokasyon,
Isyeri{merkez} to Merkez,
Isyeri{adres} to Adres,
Isyeri{gpsLokasyon} to GPSLokasyon,
Merkez{adres} to Adres,
Merkez{gpsLokasyon} to GPSLokasyon,
Isci{motor} to Motor,
Fatura{musteri} to Musteri,
Emir{adres} to Adres,
Emir{gpsLokasyon} to GPSLokasyon,
Adres{mahalle} to Mahalle,
Ilce{il} to Il,
Adres{ilce} to Ilce,
Musteri{adres} to Adres
}
//relationship ManyToMany {
// Job{task(title)} to Task{job}
//}
relationship OneToMany {
Emir{emirGecmisi} to EmirGecmisi,
Kurye{statuGecmisi} to KuryeGecmisi
Isyeri{emirler} to Emir,
Fatura{emirler} to Emir,
Musteri{isyerleri} to Isyeri
}
relationship ManyToOne {
Merkez{mahalleler} to Mahalle
}
// Set pagination options
paginate Emir, EmirGecmisi, KuryeGecmisi with infinite-scroll
paginate Kurye, Merkez, Isci, Motor, Isyeri, Fatura with pagination
dto * with mapstruct
// Set service options to all except few
service all with serviceImpl //except Isyeri
// Set an angular suffix
//angularSuffix * with ngapp