tomoya 3 주 전
부모
커밋
96389d22b4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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: