package Ġid . fa h riz al . mv v mand roid . data . database . pr ay . dao Ċ Ċ import Ġandroidx . room . Dao Ċ import Ġandroidx . room . Insert Ċ import Ġandroidx . room . On Conflict Strategy Ċ import Ġandroidx . room . Query Ċ import Ġid . fa h riz al . mv v mand roid . data . database . pr ay . model . Pr ay Entity Ċ Ċ @ Dao Ċ interface ĠPr ay Dao Ġ{ ĊĊĠĠĠ Ġ@ Insert ( on Conflict Ġ= ĠOn Conflict Strategy . REPLACE ) ĊĠĠĠ Ġfun Ġinsert ( note : ĠList < Pr ay Entity >) ĊĊĠĠĠ Ġ@ Query (" SELECT Ġ* ĠFROM Ġpr ay ĠWHERE Ġcity Ġ= Ġ: city ĠAND Ġtime Ġ>= Ġ: from ĠAND Ġtime Ġ<= Ġ: to ") ĊĠĠĠ Ġfun Ġget Pr ay Schedule ( city : ĠString , Ġfrom : ĠLong , Ġto : ĠLong ): ĠList < Pr ay Entity > Ċ Ċ }