-
Notifications
You must be signed in to change notification settings - Fork 0
/
jhipster-jdl.jh
58 lines (50 loc) · 864 Bytes
/
jhipster-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
/**
* The Account entity.
*/
entity Client {
name String required,
manager String required,
managerEmail String required,
status Status required
}
/**
* The Status Enum.
*/
enum Status {
OPEN, CLOSED
}
/**
* The Suite entity.
*/
entity Suite {
name String required
}
/**
* The Test entity.
*/
entity SuiteTest {
name String required,
browser Browser required,
sourceType SourceType required
}
/**
* The SourceType Enum.
*/
enum SourceType {
CORE, SAUCELABS
}
/**
* The Browser Enum.
*/
enum Browser {
CHROME, FIREFOX, IE, EDGE, SAFARI, OPERA, MULTIPLE
}
// defining multiple OneToMany relationships with comments
relationship OneToMany {
Client{suite} to Suite,
Suite{test} to SuiteTest
}
// Set pagination options
paginate Client, Suite, SuiteTest with pager
// Set Service Implement Classes
service * with serviceImpl