feat(Model): Added Category Val model
It needs for serching by proop parametrs
It consists of:
value Id
value
This commit is contained in:
1 parent
0a7a3b7454
commit
1739fb35b5
1 file changed
+7
@@ -0,0 +1,7 @@
|
|||||||
|
from pydantic import BaseModel
|
||||||
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
@dataclass
|
||||||
|
class Val(BaseModel):
|
||||||
|
id: int
|
||||||
|
val: str
|
||||||
Reference in new issue
Block a user