Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
JDL for JHipster Blog Demo
entity Blog {
name String required minlength(3),
handle String required minlength(2)
}
entity Entry {
title String required,
content String required,
date ZonedDateTime required
}
entity Tag {
name String required minlength(2)
}
relationship ManyToOne {
Blog{user(login)} to User
}
relationship ManyToOne {
Entry{blog(name)} to Blog
}
relationship ManyToMany {
Entry{tag(name)} to Tag{entry}
}
paginate Entry, Tag with infinite-scroll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment