Browse Source

add new

master
panda 7 months ago
parent
commit
b2ce6d4e5a
  1. 4
      internal/models.py

4
internal/models.py

@ -132,7 +132,7 @@ class Comment(BaseModel):
parent_id:Annotated[int,Field( parent_id:Annotated[int,Field(
title="父级评论id", title="父级评论id",
description="父级评论允许为空" description="父级评论允许为空"
)]
)]=None
blog_id:Annotated[int,Field( blog_id:Annotated[int,Field(
title="博客id", title="博客id",
description="博客id允许为空" description="博客id允许为空"
@ -140,7 +140,7 @@ class Comment(BaseModel):
commentname:Annotated[str,Field( commentname:Annotated[str,Field(
title="评论用户", title="评论用户",
description="评论用户不允许为空" description="评论用户不允许为空"
)]=None
)]
email:Annotated[str,Field( email:Annotated[str,Field(
title="评论用户邮箱", title="评论用户邮箱",
description="评论用户邮箱不允许为空" description="评论用户邮箱不允许为空"

Loading…
Cancel
Save