tomoya 1 week ago
parent
commit
96389d22b4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      backend/app/app/schemas/simplepay.py

+ 3 - 3
backend/app/app/schemas/simplepay.py

@@ -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: