diff --git a/.vscode/settings.json b/.vscode/settings.json index 8f644037..63bcac12 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,6 +18,7 @@ "ruff.lint.ignore": [ "B008", "E712", + "UP007", "UP017" ], "editor.defaultFormatter": null diff --git a/src/domain/schemas/book_schemas.py b/src/domain/schemas/book_schemas.py index e34c3bc2..df507a99 100644 --- a/src/domain/schemas/book_schemas.py +++ b/src/domain/schemas/book_schemas.py @@ -65,6 +65,7 @@ class DomainResAdminPostBook(BaseModel): major: bool = Field(title="major", description="전공 책 여부", default=False) language: str = Field(title="language", description="언어", default="KOREAN") book_status: bool = Field(title="book_status", description="도서 상태", default=True) + donor_name: Optional[str] = Field(title="donor_name", description="기부자명", default=None) created_at: datetime = Field(title="create_at", description="생성일시", example=datetime.now()) updated_at: datetime = Field(title="update_at", description="수정일시", example=datetime.now())