package Ġcom . home construction . buyer . api Ċ Ċ import Ġcom . fasterxml . jackson . annotation . Json Creator Ċ import Ġcom . fasterxml . jackson . annotation . JsonValue Ċ import Ġcom . home construction . core . api . Aggregate Id Ċ import Ġorg . ax on framework . command handling . Target Aggregate Identifier Ċ import Ġjava . io . Serializable Ċ import Ġjavax . persistence . Embed d able Ċ Ċ data Ġclass ĠAdd Buyer (@ Target Aggregate Identifier Ġval Ġid : ĠString , Ġval Ġfirst name : ĠFirst name , Ġval Ġs urname : ĠS urname , Ġval Ġaddress : ĠAddress ) Ċ data Ġclass ĠBu yer Added ( val Ġid : ĠString , Ġval Ġfirst name : ĠFirst name , Ġval Ġs urname : ĠS urname , Ġval Ġaddress : ĠAddress ) Ċ Ċ data Ġclass ĠBu yer Id Ċ constructor ( override Ġval Ġid : ĠString ) Ġ: ĠAggregate Id ( id ), ĠSerializable Ġ{ Ċ } Ċ Ċ @ Embed d able Ċ data Ġclass ĠFirst name Ċ @ Json Creator ( mode Ġ= ĠJson Creator . Mode . DE LEG ATING ) Ċ constructor (@ get : JsonValue Ġval Ġfirst name : ĠString ) Ġ{ Ċ } Ċ Ċ @ Embed d able Ċ data Ġclass ĠS urname Ċ @ Json Creator ( mode Ġ= ĠJson Creator . Mode . DE LEG ATING ) Ċ constructor (@ get : JsonValue Ġval Ġs urname : ĠString ) Ġ{ Ċ } Ċ Ċ @ Embed d able Ċ data Ġclass ĠAddress Ċ @ Json Creator ( mode Ġ= ĠJson Creator . Mode . DE LEG ATING ) Ċ constructor (@ get : JsonValue Ġval Ġaddress : ĠString ) Ġ{ Ċ }