-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjhipster-jdl.jh
33 lines (30 loc) · 906 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
entity Post {
message String,
pageId String maxlength(45),
pageName String maxlength(45),
category String maxlength(250),
categories String maxlength(250),
postLink String maxlength(250),
picture String maxlength(500),
fullPicture String maxlength(500),
shareCount Long max(20),
reactionsCount Long max(20),
commentCount Long max(20),
likeCount Long max(20),
loveCount Long max(20),
wowCount Long max(20),
hahaCount Long max(20),
sadCount Long max(20),
angryCount Long max(20),
thankfulCount Long max(20),
createdTime ZonedDateTime,
createdDateRecord ZonedDateTime,
createdByRecord String,
modifiedDateRecord ZonedDateTime,
modifiedByRecord String
}
// Set pagination options
paginate Post with infinite-scroll
dto * with mapstruct
// Set service options to all except few
service all with serviceImpl except Post