package Ġgithub . inform ram iz . time tracker . presentation . settings Ċ Ċ import Ġgithub . inform ram iz . time tracker . domain . work logs . model . Work Log Domain Model Ċ Ċ data Ġclass ĠWork Log Ui Model ( ĊĠĠĠ Ġval Ġtasks Text : ĠString , ĊĠĠĠ Ġval Ġhours Work ed : ĠFloat , ĊĠĠĠ Ġval Ġdate : ĠLong , ĊĠĠĠ Ġval Ġwork Log Id : ĠString Ġ= Ġ"", ĊĠĠĠ Ġval Ġis Under Preferred Hours Count : ĠBoolean , ĊĠĠĠ Ġval Ġis BackgroundColor Enabled : ĠBoolean Ċ ) Ċ Ċ fun ĠWork Log Ui Model . to Domain Model () Ġ= ĠWork Log Domain Model ( ĊĠĠĠ Ġtasks Text Ġ= Ġtasks Text , ĊĠĠĠ Ġhours Work ed Ġ= Ġhours Work ed , ĊĠĠĠ Ġdate Ġ= Ġdate , ĊĠĠĠ Ġwork Log Id Ġ= Ġwork Log Id Ċ ) Ċ Ċ fun ĠWork Log Domain Model . to Ui Model ( total Hours On This Day : ĠFloat , Ġpreferred Hours Count : ĠFloat ?) Ġ= ĠWork Log Ui Model ( ĊĠĠĠ Ġtasks Text Ġ= Ġtasks Text , ĊĠĠĠ Ġhours Work ed Ġ= Ġhours Work ed , ĊĠĠĠ Ġdate Ġ= Ġdate , ĊĠĠĠ Ġwork Log Id Ġ= Ġwork Log Id , ĊĠĠĠ Ġis Under Preferred Hours Count Ġ= Ġpreferred Hours Count Ġ!= Ġnull Ġ&& Ġtotal Hours On This Day Ġ< Ġpreferred Hours Count , ĊĠĠĠ Ġis BackgroundColor Enabled Ġ= Ġpreferred Hours Count Ġ!= Ġnull Ċ ) Ċ