package Ġcom . ke e ppi eces . android . ui . member Ċ Ċ import Ġandroidx . h ilt . lifecycle . ViewModel Inject Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġcom . ke e ppi eces . android . logic . data . Member Repository Ċ import Ġcom . ke e ppi eces . android . logic . data .* Ċ Ċ class ĠMember ViewModel Ġ@ ViewModel Inject Ġinternal Ġconstructor (): ĠViewModel () Ġ{ ĊĠĠĠ Ġprivate Ġval Ġmember Repository Ġ= ĠMember Repository () ĊĠĠĠ Ġfun Ġbill List ( startDate : ĠString , ĠendDate : ĠString ) Ġ= ĠBill Repository (). get Period Bill ( ĊĠĠĠĠĠĠĠ ĠstartDate , ĊĠĠĠĠĠĠĠ ĠendDate ĊĠĠĠ Ġ) ĊĊĠĠĠ Ġfun Ġget Member Period List ( startDate : ĠString , ĠendDate : ĠString , Ġmember : ĠString ) Ġ= ĊĠĠĠĠĠĠĠ ĠBill Repository (). get Member Period Bill ( startDate , ĠendDate , Ġmember ) ĊĊĊĠĠĠ Ġfun Ġget Member Summary ( b ills : ĠList < Bill >, Ġpositive Color : ĠString , Ġnegative Color : ĠString ) Ġ: ĠMutable List < Member Detail > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmember Repository . get Member Summary ( b ills , Ġpositive Color , Ġnegative Color ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ// Ġ å¾ĹåĪ° æ¯ı ä¸Ģä¸ª æĪĲåĳĺ çļĦ æ¦Ĥ è¦ģ ï¼ļ æĶ¶ æĶ¯ æĢ» åĴĮ ãĢģ é¢ľèī² ï¼Ī å¤§ åľĨ çİ¯ ï¼ī ãĢģ èĬ± è´¹ æľĢ å¤ļ çļĦä¸Ģ çº§ ç±» ï¼Į å¹¶ æĬĬ è¿Ļä¸ª æ¦Ĥ è¦ģ ä¿¡æģ¯ åŃĺ æĶ¾ åĪ° ViewModel ä¸Ń ï¼Į å¹¶ è¿ĶåĽŀ ä¸Ģä¸ª ä¸Ģ çº§ ç±» æĢ» åĴĮ Ċ Ċ }