-
-
Notifications
You must be signed in to change notification settings - Fork 211
Expand file tree
/
Copy pathblog-oauth2.jdl
More file actions
40 lines (34 loc) · 731 Bytes
/
blog-oauth2.jdl
File metadata and controls
40 lines (34 loc) · 731 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
37
38
39
40
application {
config {
baseName blog,
applicationType monolith
authenticationType oauth2
packageName com.jhipster.demo.blog
prodDatabaseType mysql
cacheProvider ehcache
buildTool maven
clientFramework angular
testFrameworks [cypress]
}
entities *
}
entity Blog {
name String required minlength(3)
handle String required minlength(2)
}
entity Post {
title String required
content TextBlob required
date Instant required
}
entity Tag {
name String required minlength(2)
}
relationship ManyToOne {
Blog{user(login)} to User with builtInEntity
Post{blog(name)} to Blog
}
relationship ManyToMany {
Post{tag(name)} to Tag{entry}
}
paginate Post, Tag with infinite-scroll