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

@@ -23,6 +23,7 @@ class Product(BaseModel):
color = Column(String, nullable=True, comment='Цвет')
composition = Column(String, nullable=True, comment='Состав')
size = Column(String, nullable=True, comment='Размер')
additional_info = Column(String, nullable=True, comment='Дополнительное поле')
class ProductBarcode(BaseModel):