import { DailyRate } from '../DailyRate.entity' ; import { Customer } from 'src/Domain/Customer/Customer.entity' ; import { Task } from 'src/Domain/Task/Task.entity' ; import { User } from 'src/Domain/HumanResource/User/User.entity' ; export interface IDailyRateRepository { save ( dailyRate ) : Promise < DailyRate > ; findOneById ( id ) : Promise < DailyRate | undefined > ; findDailyRates ( page ) : Promise < [ DailyRate [ ] , number ] > ; findOneByUserCustomerAndTask ( user , customer , task ) : Promise < DailyRate | undefined > ; }