package Ġru . flower net es . entity . auth Ċ Ċ import Ġorg . hibernate . annotations . Cascade Ċ import Ġorg . hibernate . annotations . Cascade Type Ċ import Ġorg . hibernate . annotations . On Delete Ċ import Ġorg . hibernate . annotations . On Delete Action Ċ import Ġru . flower net es . entity . NOT _ DEFINED _ ID Ċ import Ġjavax . persistence .* Ċ Ċ @ Entity Ċ data Ġclass ĠSystem Role ( ĊĠ Ġ@ Id Ġ@ GeneratedValue ĊĠ Ġval Ġid : ĠLong Ġ= ĠNOT _ DEFINED _ ID , ĊĠ Ġ@ One ToOne ĊĠ Ġ@ On Delete ( action Ġ= ĠOn Delete Action . CASCADE ) ĊĠ Ġval Ġuser : ĠUser , ĊĠ Ġ@ Enumer ated ( Enum Type . ORD IN AL ) ĊĠ Ġ@ Cascade ( Cascade Type . DELETE ) ĊĠ Ġval Ġrole : ĠSystem UserRole Ċ )