from typing import Optional
from uuid import UUID

from pydantic import BaseModel


class ProjectMetaResponse(BaseModel):
    project_id: UUID
    name: str
    code: str
    description: Optional[str] = None
    gs_workspace: str
    map_extent: Optional[dict] = None
    status: str
    project_role: str


class ProjectSummaryResponse(BaseModel):
    project_id: UUID
    name: str
    code: str
    description: Optional[str] = None
    gs_workspace: str
    status: str
    project_role: str
