feat(modules): added slug to module
This commit is contained in:
1 parent
098a6aa38a
commit
5478ac8caa
1 file changed
+1
@@ -20,6 +20,7 @@ class Product(BaseModel):
|
|||||||
images: List[str] = []
|
images: List[str] = []
|
||||||
attributes: ProductAttributes = ProductAttributes()
|
attributes: ProductAttributes = ProductAttributes()
|
||||||
inStock: bool = True
|
inStock: bool = True
|
||||||
|
slug: str
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
from_attributes = True
|
from_attributes = True
|
||||||
|
|||||||
Reference in new issue
Block a user