项目基础模块代码

This commit is contained in:
2025-02-19 11:47:33 +08:00
parent 3cb2a4c507
commit 31302bcd17
30 changed files with 588 additions and 74 deletions

View File

@ -0,0 +1,12 @@
from pydantic import BaseModel, Field
from typing import Optional
class ProjectLabel(BaseModel):
"""项目标签输入输出"""
id: Optional[int] = Field(None, description="id")
project_id: Optional[int] = Field(..., description="项目id")
label_name: Optional[str] = Field(..., description="标签名称")
class Config:
orm_mode = True