feat: attrs on product

This commit is contained in:
2024-05-11 01:10:54 +03:00
parent 7ce9258096
commit e9aec10feb
4 changed files with 12 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ class ProductSchema(CustomModelCamel):
color: str | None = None
composition: str | None = None
size: str | None = None
additional_info: str | None = None
@field_validator('barcodes', mode="before")
def barcodes_to_list(cls, v):