package Ġio . github . tz xyz . ashes . view models Ċ Ċ import Ġio . github . tz xyz . ashes . models .* Ċ import Ġt orn ad of x . Item ViewModel Ċ Ċ class ĠAs hes StringValue ViewModel : ĠItem ViewModel < As hes Key StringValue >() Ġ{ ĊĠĠĠ Ġval Ġkey Ġ= Ġbind ( As hes Key StringValue :: key ) ĊĠĠĠ Ġval Ġtype Ġ= Ġbind ( As hes Key StringValue :: type ) ĊĠĠĠ Ġval Ġttl Ġ= Ġbind ( As hes Key StringValue :: ttl ) ĊĠĠĠ Ġval Ġcost Ġ= Ġbind ( As hes Key StringValue :: cost ) ĊĠĠĠ Ġval Ġvalue Ġ= Ġbind ( As hes Key StringValue :: value ) Ċ } Ċ class ĠAs hes List Value ViewModel : ĠItem ViewModel < As hes Key List Value >() Ġ{ ĊĠĠĠ Ġval Ġkey Ġ= Ġbind ( As hes Key List Value :: key ) ĊĠĠĠ Ġval Ġtype Ġ= Ġbind ( As hes Key List Value :: type ) ĊĠĠĠ Ġval Ġttl Ġ= Ġbind ( As hes Key List Value :: ttl ) ĊĠĠĠ Ġval Ġcost Ġ= Ġbind ( As hes Key List Value :: cost ) ĊĠĠĠ Ġval Ġvalue Ġ= Ġbind ( As hes Key List Value :: value ) Ċ } Ċ class ĠAs hes Hash Value ViewModel : ĠItem ViewModel < As hes Key Hash Value >() Ġ{ ĊĠĠĠ Ġval Ġkey Ġ= Ġbind ( As hes Key Hash Value :: key ) ĊĠĠĠ Ġval Ġtype Ġ= Ġbind ( As hes Key Hash Value :: type ) ĊĠĠĠ Ġval Ġttl Ġ= Ġbind ( As hes Key Hash Value :: ttl ) ĊĠĠĠ Ġval Ġcost Ġ= Ġbind ( As hes Key Hash Value :: cost ) ĊĠĠĠ Ġval Ġvalue Ġ= Ġbind ( As hes Key Hash Value :: value ) Ċ } Ċ class ĠAs hes SetValue ViewModel : ĠItem ViewModel < As hes Key SetValue >() Ċ class ĠAs hes Sorted SetValue ViewModel : ĠItem ViewModel < As hes Key Sorted SetValue >()