diff --git a/coupons.jh b/coupons.jh index 7ae529d..261a080 100644 --- a/coupons.jh +++ b/coupons.jh @@ -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 @@ -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 \ No newline at end of file