date 1.3
This commit is contained in:
@@ -4,7 +4,7 @@ class ExcelInfo(BaseModel):
|
||||
arti:str = Field(..., min_length=5, max_length=12, description="arti of the clothes")
|
||||
counts:int = Field(..., gt=0, description="the quantity of the clothes")
|
||||
price:float = Field(..., gt=0, description="the price of the clothes")
|
||||
ref_key:str = Field(..., description="reffering key from db")
|
||||
#ref_key:str = Field(..., description="reffering key from db")
|
||||
class ExcelRealization(BaseModel):
|
||||
pass
|
||||
class ExcelReturning(BaseModel):
|
||||
@@ -60,13 +60,4 @@ class Translit():
|
||||
'Т': 'T',
|
||||
'Х': 'X',
|
||||
}
|
||||
class CreateDocumentParams(BaseModel):
|
||||
DATE: str = Field(..., min_length=1)
|
||||
OPERATION: str = Field(..., min_length=1)
|
||||
CONTRACTOR: str = Field(..., min_length=1)
|
||||
CONTRACT: str = Field(..., min_length=1)
|
||||
ACCOUNT_INTERMEDIARY_SERVICES: str = Field(..., min_length=1)
|
||||
ACCOUNT_ADVANCES_RECEIVED: str = Field(..., min_length=1)
|
||||
ACCOUNT_ADVANCES_ISSUED: str = Field(..., min_length=1)
|
||||
ACCOUNT_WITH_COUNTERPARTY: str = Field(..., min_length=1)
|
||||
settings = Settings()
|
||||
Reference in New Issue
Block a user