feat: add models and enum

This commit is contained in:
firedotguy
2026-01-30 20:49:49 +03:00
parent 1a606da55f
commit c7e3812ee8
17 changed files with 210 additions and 5 deletions

8
itd/models/hashtag.py Normal file
View File

@@ -0,0 +1,8 @@
from uuid import UUID
from pydantic import BaseModel, Field
class Hashtag(BaseModel):
id: UUID
name: str
posts_count: int = Field(0, alias='postsCount')