Files
next-tjwater-server/app/domain/schemas/metadata.py
T
jiang 1d061f6099
Generic Container CI/CD / test-build-publish (push) Failing after 6s
Server CI/CD v2 / build-test-publish-and-deploy (push) Failing after 6s
feat: add project-scoped operations
2026-10-22 18:40:20 +08:00

29 lines
647 B
Python

from typing import Optional
from uuid import UUID
from pydantic import BaseModel, Field
from app.domain.schemas.project_map_config import ProjectMapConfig
class ProjectMetaResponse(BaseModel):
project_id: UUID
name: str
code: str
description: Optional[str] = None
gs_workspace: str
map_extent: Optional[dict] = None
map_config: ProjectMapConfig = Field(default_factory=ProjectMapConfig)
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