Add endpoints for working hours
It has an endpoint to show and to delete working hours
This commit is contained in:
parent
d1f6db2104
commit
c9e526492c
6 changed files with 201 additions and 14 deletions
|
|
@ -28,6 +28,7 @@ pub struct ExtraHoursEntity {
|
|||
#[automock]
|
||||
#[async_trait]
|
||||
pub trait ExtraHoursDao {
|
||||
async fn find_by_id(&self, id: Uuid) -> Result<Option<ExtraHoursEntity>, crate::DaoError>;
|
||||
async fn find_by_sales_person_id_and_year(
|
||||
&self,
|
||||
sales_person_id: Uuid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue