From 91a05c7df793c7c23e92874f12f8ab031217a8db Mon Sep 17 00:00:00 2001 From: Kirill Date: Sun, 23 Nov 2025 21:45:50 +0300 Subject: [PATCH] feat(Models): Added C_Params model This is model for sorted products on site It consists of: Category Name Category id Catygory value id --- module/c_params.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 module/c_params.py diff --git a/module/c_params.py b/module/c_params.py new file mode 100644 index 0000000..1aee464 --- /dev/null +++ b/module/c_params.py @@ -0,0 +1,8 @@ +from pydantic import BaseModel +from dataclasses import dataclass + +@dataclass +class CParams(BaseModel): + id: int + name: str + val_id: str