fix(Models): Category model
This commit is contained in:
1 parent
6863cf86fa
commit
220e9af004
1 file changed
+3
-1
@@ -0,0 +1,10 @@
|
||||
from pydantic import BaseModel
|
||||
from dataclasses import dataclass
|
||||
|
||||
@dataclass
|
||||
class Category(BaseModel):
|
||||
id: int
|
||||
name: str
|
||||
prod_id: int
|
||||
image_path: str
|
||||
c_params_id: int
|
||||
Reference in new issue
Block a user