-
-
Notifications
You must be signed in to change notification settings - Fork 210
Expand file tree
/
Copy pathspace.jdl
More file actions
36 lines (31 loc) · 631 Bytes
/
space.jdl
File metadata and controls
36 lines (31 loc) · 631 Bytes
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
application {
config {
baseName space
applicationType monolith
authenticationType oauth2
packageName org.jhipster.space
prodDatabaseType postgresql
testFrameworks [cypress]
}
entities *
}
entity SpaceEvent {
name String required
date LocalDate required
description TextBlob required
photo ImageBlob required
type SpaceEventType required
}
entity Mission {
name String required
description String
}
enum SpaceEventType {
LAUNCH,
LANDING
}
relationship OneToOne {
SpaceEvent{mission(name)} to Mission
}
paginate SpaceEvent with infinite-scroll
paginate Mission with pagination