1
This commit is contained in:
@@ -4,7 +4,7 @@ from app.schemas.common import NaiveDatetime, NaiveDatetimeOptional
|
|||||||
|
|
||||||
|
|
||||||
class CreditAdjustRequest(BaseModel):
|
class CreditAdjustRequest(BaseModel):
|
||||||
amount: int
|
amount: float = Field(..., ge=-9999999.99, le=9999999.99, multiple_of=0.01)
|
||||||
description: str = Field(..., max_length=256)
|
description: str = Field(..., max_length=256)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user