Initial commit

This commit is contained in:
shahzeydyfah
2024-02-15 00:17:51 +03:30
commit 4b0396466d
111 changed files with 6296 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import uuid
from typing import Optional, Union, List
from pydantic import Field
from core.models.base import BaseSoftDelete, BaseModel
class UnitModel(BaseModel, BaseSoftDelete):
id: Union[Optional[uuid.UUID], str] = Field(alias='_id')
title: str
parents: Optional[List[uuid.UUID]]