package Ġcom . base . and res . splash y . data . datasource Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . Query Ċ import Ġcom . base . and res . splash y . data . entity . Artwork Entity Ċ Ċ @ Dao Ċ interface ĠArt work Dao Ġ{ ĊĠĠĠ Ġ@ Insert ĊĠĠĠ Ġfun Ġsave ( art work : ĠArt work Entity ) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġart work ĠWHERE Ġid Ġ= Ġ: art work Id ĠLIMIT Ġ 1 ") ĊĠĠĠ Ġfun Ġget ( art work Id : ĠInt ): ĠList < Artwork Entity > ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġart work ") ĊĠĠĠ Ġfun Ġget Recent (): ĠList < Artwork Entity > Ċ }