From f01d29caa59a5a3bfa3a082e200e60d21be39a80 Mon Sep 17 00:00:00 2001 From: JHipster Bot Date: Sun, 15 Jul 2018 11:35:43 +0000 Subject: [PATCH 1/2] Add JDL Model `Coupons` See https://start.jhipster.tech/jdl-studio/#!/view/27f0e65d-16fd-48d5-a07f-3636627a7426 --- coupons.jh | 8 -------- 1 file changed, 8 deletions(-) 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 From 5706a20e08f79f9493ba860b22b4d9785f91b92b Mon Sep 17 00:00:00 2001 From: JHipster Bot Date: Sun, 15 Jul 2018 11:35:49 +0000 Subject: [PATCH 2/2] Generate entities from JDL Model `Coupons` See https://start.jhipster.tech/jdl-studio/#!/view/27f0e65d-16fd-48d5-a07f-3636627a7426