forked from IHIW/IHIW_Management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjdl.jh
73 lines (65 loc) · 1.24 KB
/
jdl.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
/** Management microservice entities */
entity Project {
name String required
description String
createdAt ZonedDateTime
modifiedAt ZonedDateTime
activated Boolean
}
entity Upload {
type FileType
createdAt ZonedDateTime
modifiedAt ZonedDateTime
fileName String
valid Boolean
enabled Boolean
}
entity IhiwLab {
labCode String required
title String
firstName String required
lastName String required
director String
department String
institution String
address1 String
address2 String
sAddress1 String
sAddress String
city String
state String
zip String
country String
phone String
fax String
email String required
url String
oldLabCode String
sName String
sPhone String
sEmail String
dName String
dEmail String
dPhone String
createdAt ZonedDateTime
}
entity IhiwUser {
phone String
}
relationship OneToOne {
IhiwUser{user} to User{ihiwUser}
}
relationship OneToMany {
IhiwUser to Upload{createdBy}
}
relationship ManyToOne {
IhiwUser{lab} to IhiwLab
Project{createdBy} to IhiwUser
Project{modifiedBy} to IhiwUser
}
relationship ManyToMany {
Project{lab} to IhiwLab{project}
}
enum FileType {
HAML, HML
}