package Ġgithub . inform ram iz . time tracker . domain . authentication . model Ċ Ċ import Ġgithub . inform ram iz . time tracker . data . authentication . model . UserRole ApiModel Ċ Ċ enum Ġclass ĠUser Role Ġ{ ĊĠĠĠ ĠREG ULAR , ĊĠĠĠ ĠMAN AGER , ĊĠĠĠ ĠADMIN Ċ } Ċ Ċ fun ĠUser Role . to ApiModel () Ġ= Ġwhen ( this ) Ġ{ ĊĠĠĠ ĠUser Role . REG ULAR Ġ-> ĠUser Role ApiModel . REG ULAR ĊĠĠĠ ĠUser Role . MANAGER Ġ-> ĠUser Role ApiModel . MANAGER ĊĠĠĠ ĠUser Role . ADMIN Ġ-> ĠUser Role ApiModel . ADMIN Ċ } Ċ Ċ fun ĠUser Role ApiModel . to Domain Model () Ġ= Ġwhen ( this ) Ġ{ ĊĠĠĠ ĠUser Role ApiModel . REG ULAR Ġ-> ĠUser Role . REG ULAR ĊĠĠĠ ĠUser Role ApiModel . MANAGER Ġ-> ĠUser Role . MANAGER ĊĠĠĠ ĠUser Role ApiModel . ADMIN Ġ-> ĠUser Role . ADMIN Ċ } Ċ