-
Notifications
You must be signed in to change notification settings - Fork 0
/
my-pro-apps.jdl
197 lines (168 loc) · 3.71 KB
/
my-pro-apps.jdl
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
//v2 - 22/05/2023
entity MoM {
title String required
meetingDate LocalDate
MinutesWritingDate LocalDate
meetingObjectif TextBlob
meetingDocReferences TextBlob
isMoMActionsClosed Boolean
SubjectDecisions TextBlob
//meetingRequester String
meetingPhotoCapture ImageBlob
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
attendees TextBlob
notes TextBlob
}
entity Task
{
subject String
taskTitle String required
dealLine LocalDate
isUrgent Boolean
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes TextBlob
}
entity Person {
name String required
code String
isExternal Boolean
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes TextBlob
}
entity Client
{
name String required
code String required
//mainContactName String
//mainContactEmail String pattern(/^[^@\s]+@[^@\s]+\.[^@\s]+$/)
// currentCardHolderNumber Integer
// currentBruncheNumber Integer
// currentCustomersNumber Integer
// mainContactPhoneNumber String
ClientLogo ImageBlob
url String
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes TextBlob
}
entity Project
{
name String required
code String required
startDate LocalDate
realEndtDate LocalDate
projectDescription TextBlob
initialEndDate LocalDate
initialCost Double
initialWorkLoad Integer
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes TextBlob
}
entity TaskStatus
{
code String required
status String
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes String
}
entity Company
{
name String required
code String required
companyProfile TextBlob
url String
logo ImageBlob
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes String
}
entity ProjectStatus
{
statusDate LocalDate
statusTitle String
// max_value 100
updatedProgress Double min(0) max(100)
updatedWorkloadEAC Integer
updatedEndDate LocalDate
updatedCost Double
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes String
}
entity ProjectStatusCode {
code String required
status String
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes String
}
entity ProjectPriority
{
code String required
priority String
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes String
}
entity ProjectCategory
{
code String required
category String
// audit
dateCreation Instant
dateModify Instant
lastModifyBy String
createdBy String
notes String
}
relationship OneToMany {
ProjectPriority to Project {ProjectPriority(code)}
ProjectCategory to Project {ProjectCategory(code)}
TaskStatus{Task(taskTitle)} to Task{TaskStatus(code)}
MoM{tasks(title)} to Task{TaskMoM(title)}
Project{MoMTitle(title)} to MoM{projet(code)}
Project{tasks(title)} to Task{ProjectName(code)}
Project to ProjectStatus{ProjectName(code)}
ProjectStatusCode to ProjectStatus{ProjectStatusCode(code)}
Client to Project{ClientCode(code)}
// user and persons
Person{Task(taskTitle)} to Task{TaskOwner(name)}
Person to Project{InternalProjectManager(name)}
Company to Project {Company(code)}
}
service all with serviceClass