|
@@ -9,7 +9,7 @@ class SimplePayBase(BaseModel):
|
|
|
taxID: Optional[str] = None
|
|
|
tradeDesc: Optional[str] = None
|
|
|
item: Optional[str] = None
|
|
|
- amount: Optional[str] = None
|
|
|
+ amount: Optional[int] = None
|
|
|
|
|
|
# Properties to receive on video creation
|
|
|
class SimplePayCreate(SimplePayBase):
|
|
@@ -17,7 +17,7 @@ class SimplePayCreate(SimplePayBase):
|
|
|
name : str
|
|
|
tradeDesc: Optional[str] = None
|
|
|
item: Optional[str] = None
|
|
|
- amount: Optional[str] = None
|
|
|
+ amount: Optional[int] = None
|
|
|
|
|
|
# Properties to receive on video update
|
|
|
class SimplePayUpdate(SimplePayBase):
|
|
@@ -31,7 +31,7 @@ class SimplePayInDBBase(SimplePayBase):
|
|
|
taxID: str
|
|
|
tradeDesc: str
|
|
|
item: str
|
|
|
- amount: str
|
|
|
+ amount: int
|
|
|
payment_state: str
|
|
|
|
|
|
class Config:
|