feat: article now is not required

This commit is contained in:
2024-05-21 13:49:56 +03:00
parent f874b41a07
commit 3a4f91d751
3 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ from models import ProductBarcode
# region Entities
class BaseProductSchema(CustomModelCamel):
name: str
article: str
article: str | None = ''
client_id: int
barcodes: list[str]
barcode_template: BarcodeTemplateSchema | None = None