package Ġorg . simple . clin ic . home Ċ Ċ import Ġandroid . os . Parcelable Ċ import Ġkotlinx . android . parcel . Parcel ize Ċ import Ġorg . simple . clin ic . facility . Facility Ċ Ċ @ Parcel ize Ċ data Ġclass ĠHome Screen Model ( ĊĠĠĠ Ġval Ġfacility : ĠFac ility ?, ĊĠĠĠ Ġval Ġover due Appointment Count : ĠInt ? Ċ ) Ġ: ĠParcel able Ġ{ ĊĊĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠ Ġfun Ġcreate () Ġ= ĠHome Screen Model ( ĊĠĠĠĠĠĠĠ Ġfacility Ġ= Ġnull , ĊĠĠĠĠĠĠĠ Ġover due Appointment Count Ġ= Ġnull ĊĠĠĠ Ġ) ĊĠ Ġ} ĊĊĠ Ġval Ġhas Facility : ĠBoolean ĊĠĠĠ Ġget () Ġ= Ġfacility Ġ!= Ġnull ĊĊĠ Ġval Ġhas Over due Appointment Count : ĠBoolean ĊĠĠĠ Ġget () Ġ= Ġover due Appointment Count Ġ!= Ġnull ĊĊĠ Ġval Ġhas At Least One Over due Appointment : ĠBoolean ĊĠĠĠ Ġget () Ġ= Ġover due Appointment Count !! Ġ> Ġ 0 ĊĊĠ Ġfun Ġfacility Loaded ( facility : ĠFac ility ): ĠHome Screen Model Ġ{ ĊĠĠĠ Ġreturn Ġcopy ( facility Ġ= Ġfacility ) ĊĠ Ġ} ĊĊĠ Ġfun Ġover due Appointment Count Loaded ( over due Appointment Count : ĠInt ): ĠHome Screen Model Ġ{ ĊĠĠĠ Ġreturn Ġcopy ( over due Appointment Count Ġ= Ġover due Appointment Count ) ĊĠ Ġ} Ċ } Ċ