first commit

This commit is contained in:
2025-10-27 18:50:07 +03:00
commit 06bd3c6b77
11 changed files with 93 additions and 0 deletions

11
backend/pydantic.py Normal file
View File

@@ -0,0 +1,11 @@
from pydantic import BaseModel, Field, field_validator
class ExcelInfo(BaseModel):
arti:str = Field(..., min_length=6, max_length=12, description="arti of the clothes")
counts:int = Field(..., ge=0, description="the quantity of the clothes")
price:int = Field(..., ge=0, description="the price of the clothes")
class ExcelRealization(BaseModel):
pass
class ExcelReturning(BaseModel):
pass
class ExcelOut(BaseModel):
pass