Category rendering, DB columns refined.
This commit is contained in:
0
dto/__init__.py
Normal file
0
dto/__init__.py
Normal file
7
dto/categories.py
Normal file
7
dto/categories.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from dataclasses import dataclass
|
||||
|
||||
|
||||
@dataclass(slots=True)
|
||||
class CategoryDTO:
|
||||
id: int
|
||||
name: str
|
||||
Reference in New Issue
Block a user