feat: вфыв

This commit is contained in:
2024-07-22 12:45:21 +03:00
parent 7c10d8777e
commit 82c9126d87
19 changed files with 725 additions and 18 deletions

16
schemas/payrate.py Normal file
View File

@@ -0,0 +1,16 @@
from typing import Optional
from schemas.base import BaseSchema
from schemas.payroll import PayrollSchemeSchema
class PayRateSchemaBase(BaseSchema):
name: str
payroll_scheme: PayrollSchemeSchema
base_rate: float
overtime_rate: Optional[float] = None
overtime_threshold: Optional[float] = None
class PayRateSchema(PayRateSchemaBase):
id: int