feat(Models): Added C_Params model
This is model for sorted products on site
It consists of:
Category Name
Category id
Catygory value id
This commit is contained in:
1 parent
cd6bebc269
commit
91a05c7df7
1 file changed
+8
@@ -0,0 +1,8 @@
|
|||||||
|
from pydantic import BaseModel
|
||||||
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
@dataclass
|
||||||
|
class CParams(BaseModel):
|
||||||
|
id: int
|
||||||
|
name: str
|
||||||
|
val_id: str
|
||||||
Reference in new issue
Block a user