Files
rengine/backend/app/models/project.py
T
2026-01-26 15:02:53 +05:30

14 lines
270 B
Python

import uuid
from sqlmodel import Field, SQLModel
class ProjectBase(SQLModel):
__tablename__ = "projects"
class Project(ProjectBase, table=True):
__tablename__ = "projects"
id: uuid.UUID = Field(default_factory=uuid.uuid4, primary_key=True, index=True)