保定ai问答主体项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
bd_ai_fastapi/app/schemas/quick_question.py

21 lines
413 B

# app/schemas/quick_question.py
from pydantic import BaseModel
class QuickQuestionBase(BaseModel):
title: str
order_num: int
status: str
content: str
class QuickQuestionCreate(QuickQuestionBase):
pass
class QuickQuestionUpdate(QuickQuestionBase):
id: int
class QuickQuestionResponse(QuickQuestionBase):
id: int
create_time: str
class Config:
from_attributes = True