/** Ċ * ĠCopyright ĠS or am its u ĠCo ., ĠLtd . ĠAll ĠRights ĠReserved . Ċ * ĠSPDX - License - Identifier : ĠGPL - 3 . 0 Ċ */ Ċ Ċ package Ġjp . co . sor am its u . feature _ vot able _ impl . data . map pers Ċ Ċ import Ġjp . co . sor am its u . core _ db . model . Refer endum Local Ċ import Ġjp . co . sor am its u . core _ db . model . Refer endum Status Local Ċ import Ġjp . co . sor am its u . feature _ vot able _ api . domain . model . refer endum . Refer endum Ċ import Ġjp . co . sor am its u . feature _ vot able _ api . domain . model . refer endum . Refer endum Status Ċ import Ġjp . co . sor am its u . feature _ vot able _ impl . data . network . model . Refer endum Remote Ċ import Ġjava . util . Date Ċ Ċ fun ĠRefer endum Local . to Refer endum () Ġ= ĊĠĠĠ ĠRefer endum ( ĊĠĠĠĠĠĠĠ Ġid Ġ= Ġid , ĊĠĠĠĠĠĠĠ Ġimage Link Ġ= Ġimage Link , ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġname , ĊĠĠĠĠĠĠĠ Ġstatus Ġ= ĠRefer endum Status . valueOf ( status . toString ()), ĊĠĠĠĠĠĠĠ Ġstatus UpdateTime Ġ= ĠDate ( status UpdateTime ), ĊĠĠĠĠĠĠĠ Ġopp ose Votes Ġ= Ġopp ose Votes , ĊĠĠĠĠĠĠĠ Ġsupport Votes Ġ= Ġsupport Votes , ĊĠĠĠĠĠĠĠ Ġuser Opp ose Votes Ġ= Ġuser Opp ose Votes , ĊĠĠĠĠĠĠĠ Ġuser Support Votes Ġ= Ġuser Support Votes , ĊĠĠĠĠĠĠĠ Ġdescription Ġ= Ġdescription , ĊĠĠĠĠĠĠĠ Ġdetailed Description Ġ= Ġdetailed Description , ĊĠĠĠĠĠĠĠ Ġdeadline Ġ= ĠDate ( fund ing Deadline ) ĊĠĠĠ Ġ) Ċ Ċ fun ĠRefer endum . to Refer endum Local () Ġ= ĊĠĠĠ ĠRefer endum Local ( ĊĠĠĠĠĠĠĠ Ġdescription , Ġdetailed Description , Ġdeadline . time , ĊĠĠĠĠĠĠĠ Ġid Ġ= Ġid , ĊĠĠĠĠĠĠĠ Ġimage Link Ġ= Ġimage Link , ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġname , ĊĠĠĠĠĠĠĠ Ġstatus Ġ= ĠRefer endum Status Local . valueOf ( status . toString ()), ĊĠĠĠĠĠĠĠ Ġstatus UpdateTime Ġ= Ġstatus UpdateTime . time , ĊĠĠĠĠĠĠĠ Ġopp ose Votes Ġ= Ġopp ose Votes , ĊĠĠĠĠĠĠĠ Ġsupport Votes Ġ= Ġsupport Votes , ĊĠĠĠĠĠĠĠ Ġuser Opp ose Votes Ġ= Ġuser Opp ose Votes , ĊĠĠĠĠĠĠĠ Ġuser Support Votes Ġ= Ġuser Support Votes ĊĠĠĠ Ġ) Ċ Ċ fun ĠRefer endum Remote . to Refer endum () Ġ= ĊĠĠĠ ĠRefer endum ( ĊĠĠĠĠĠĠĠ Ġid Ġ= Ġid , ĊĠĠĠĠĠĠĠ Ġimage Link Ġ= Ġimage Link , ĊĠĠĠĠĠĠĠ Ġname Ġ= Ġname , ĊĠĠĠĠĠĠĠ Ġstatus Ġ= ĠRefer endum Status . valueOf ( status ), ĊĠĠĠĠĠĠĠ Ġstatus UpdateTime Ġ= ĠDate ( status UpdateTime Ġ* Ġ 1 0 0 0 L ), ĊĠĠĠĠĠĠĠ Ġopp ose Votes Ġ= Ġopp ose Votes , ĊĠĠĠĠĠĠĠ Ġsupport Votes Ġ= Ġsupport Votes , ĊĠĠĠĠĠĠĠ Ġuser Opp ose Votes Ġ= Ġuser Opp ose Votes , ĊĠĠĠĠĠĠĠ Ġuser Support Votes Ġ= Ġuser Support Votes , ĊĠĠĠĠĠĠĠ Ġdescription Ġ= Ġdescription , ĊĠĠĠĠĠĠĠ Ġdetailed Description Ġ= Ġdetailed Description , ĊĠĠĠĠĠĠĠ Ġdeadline Ġ= ĠDate ( fund ing Deadline Ġ* Ġ 1 0 0 0 L ) ĊĠĠĠ Ġ)