chore: 基线提交(重构前快照)
重构前保存现有 apps/ 结构基线,供后续各阶段回滚。 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from typing import List, Optional
|
||||
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
|
||||
# 角色菜单表单
|
||||
class RoleMenuForm(BaseModel):
|
||||
role_id: int = Field(..., gt=0, description="角色ID")
|
||||
menu_id: Optional[List[int]] = Field(default=[], description="菜单ID列表")
|
||||
Reference in New Issue
Block a user