Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions coupons.jh
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
entity Company {
companyName String required
// user Long required
}
entity Customer {
customerName String required
// user Long required
}
entity Coupon {
// company Long required
title String required
start Long required
end Long required
Expand All @@ -17,20 +14,15 @@ entity Coupon {
price Double required
image String required
}

relationship ManyToMany {
Customer{coupon} to Coupon{customer}
}

relationship OneToOne {
Coupon {company(id) } to Company
Company {user(login) } to User
Customer {user(login) } to User
}
// Set pagination options
paginate Company, Customer, Coupon with infinite-scroll
dto * with mapstruct
// Set service options to all except few
service all with serviceImpl
// Set an angular suffix
angularSuffix * with mySuffix