commit
This commit is contained in:
21
backend/app/schemas/project.py
Normal file
21
backend/app/schemas/project.py
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
from pydantic import BaseModel, ConfigDict
|
||||
from uuid import UUID
|
||||
from datetime import datetime
|
||||
from typing import Optional, List
|
||||
|
||||
class ProjectBase(BaseModel):
|
||||
name: str
|
||||
resolution: str = "4K"
|
||||
aspect_ratio: str = "16:9"
|
||||
veo_version: str = "3.1"
|
||||
|
||||
class ProjectCreate(ProjectBase):
|
||||
pass
|
||||
|
||||
class Project(ProjectBase):
|
||||
id: UUID
|
||||
created_at: datetime
|
||||
updated_at: datetime
|
||||
|
||||
model_config = ConfigDict(from_attributes=True)
|
||||
Reference in New Issue
Block a user