Merge branch 'main' of https://gitee.com/wg123/video-gen
This commit is contained in:
@@ -4,7 +4,7 @@ from app.schemas.common import NaiveDatetime, NaiveDatetimeOptional
|
||||
|
||||
|
||||
class CreditAdjustRequest(BaseModel):
|
||||
amount: int
|
||||
amount: float = Field(..., ge=-9999999.99, le=9999999.99, multiple_of=0.01)
|
||||
description: str = Field(..., max_length=256)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user