优化代码风格
This commit is contained in:
@ -7,7 +7,7 @@ from pydantic import BaseModel, Field
|
||||
# ------------------------------
|
||||
class SensitiveCreateRequest(BaseModel):
|
||||
"""创建敏感信息记录请求模型"""
|
||||
# 移除了id字段,由数据库自动生成
|
||||
# 移除了id字段、由数据库自动生成
|
||||
name: str = Field(None, max_length=255, description="名称")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user