-
Notifications
You must be signed in to change notification settings - Fork 0
/
jdl.jh
105 lines (87 loc) · 1.5 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
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
entity Prisioner{
name String
bi Integer
image String
numPrisioner Integer
numCell Integer
dataNascimento LocalDate
balance Double
working Integer
password String
}
entity PressWork {
workDate LocalDate
}
entity PrisQuiz {
quizDate LocalDate,
}
entity QuestionQuiz {
}
entity PressProduct {
orderId Integer,
qty Integer
priceEach Long
}
entity Work {
nameWork String
priceHour Long
numVacancies Integer
}
entity Quiz {
qtyQuestion Integer
}
entity Question {
question String
value Double
answer String
}
entity Purchase {
}
entity Product {
productLinId Integer
nameProd String
price Long
seler String
descriptionProd String
quantyInStock Integer
buyPrice Long
}
entity Login {
userName String,
password String,
type String,
}
entity Permission {
descPermission String
}
entity SystemAdmin {
nameAdmin String,
password String
}
entity AdminEmploy {
nameAdminEmp String,
password String
}
relationship OneToMany{
Prisioner{id} to PressWork
Work{id} to PressWork
}
relationship OneToMany{
Prisioner{id} to PrisQuiz
Quiz{id} to PrisQuiz
Quiz{id} to QuestionQuiz
Question{id} to QuestionQuiz
}
relationship OneToMany{
Prisioner{id} to Purchase
Purchase{id} to PressProduct
Product{id} to PressProduct
}
relationship OneToMany{
Login{id} to Prisioner
Login{id} to SystemAdmin
Login{id} to AdminEmploy
Permission{id} to Prisioner
Permission{id} to SystemAdmin
Permission{id} to AdminEmploy
}