修正
This commit is contained in:
@@ -38,6 +38,16 @@ class BonusCalculationRequest(BaseModel):
|
||||
calculated_by: str = "system"
|
||||
|
||||
|
||||
class BonusUpdateRequest(BaseModel):
|
||||
"""賞与支給項目の更新リクエスト"""
|
||||
base_bonus: Decimal
|
||||
performance_bonus: Decimal = Decimal("0")
|
||||
other_bonus: Decimal = Decimal("0")
|
||||
other_deduction: Decimal = Decimal("0")
|
||||
payment_date: Optional[date] = None
|
||||
bonus_type: Optional[str] = None
|
||||
|
||||
|
||||
class BonusPayment(BonusPaymentBase):
|
||||
"""賞与計算結果"""
|
||||
bonus_id: int
|
||||
@@ -47,6 +57,7 @@ class BonusPayment(BonusPaymentBase):
|
||||
care_insurance: Decimal
|
||||
pension_insurance: Decimal
|
||||
employment_insurance: Decimal
|
||||
child_support: Decimal = Decimal("0")
|
||||
income_tax: Decimal
|
||||
other_deduction: Decimal
|
||||
total_deduction: Decimal
|
||||
|
||||
Reference in New Issue
Block a user