service/dto/filter for all entities

This commit is contained in:
Michael Hoennig 2019-04-02 16:15:46 +02:00
parent 539e3c48fd
commit acd28d679c

View File

@ -1,24 +1,19 @@
filter all
dto all with mapstruct
service all with serviceClass
paginate all with infinite-scroll
entity Customer { entity Customer {
number Integer required unique min(10000) max(99999), number Integer required unique min(10000) max(99999),
prefix String required unique pattern(/[a-z][a-z0-9]+/), prefix String required unique pattern(/[a-z][a-z0-9]+/),
} }
filter Customer
paginate Customer with infinite-scroll
service Customer with serviceClass
dto Customer with mapstruct
entity Contact { entity Contact {
firstName String required maxlength(80), firstName String required maxlength(80),
lastName String required maxlength(80), lastName String required maxlength(80),
email String required maxlength(80) email String required maxlength(80)
} }
filter Contact
paginate Contact with infinite-scroll
service Contact with serviceClass
dto Contact with mapstruct
enum CustomerContactRole { enum CustomerContactRole {
CONTRACTUAL, CONTRACTUAL,
@ -30,17 +25,11 @@ entity CustomerContact {
role CustomerContactRole required role CustomerContactRole required
} }
service CustomerContact with serviceClass
dto CustomerContact with mapstruct
entity Membership { entity Membership {
sinceDate LocalDate required, sinceDate LocalDate required,
untilDate LocalDate untilDate LocalDate
} }
service Membership with serviceClass
dto Membership with mapstruct
enum ShareAction { enum ShareAction {
SUBSCRIPTION, SUBSCRIPTION,
CANCELLATION CANCELLATION