书籍模块
This commit is contained in:
@@ -8,9 +8,17 @@ type BookResponse struct {
|
||||
type BookAuthorResponse struct {
|
||||
BookAuthor book.BookAuthor `json:"bookAuthor"`
|
||||
}
|
||||
type BookAuthorListItem struct {
|
||||
book.BookAuthor `gorm:"embedded"`
|
||||
AuthorName string `json:"authorName" gorm:"column:author_name"`
|
||||
}
|
||||
type BookAuthorRelationResponse struct {
|
||||
BookAuthorRelation book.BookAuthorRelation `json:"bookAuthorRelation"`
|
||||
}
|
||||
type BookAuthorRelationListItem struct {
|
||||
book.BookAuthorRelation `gorm:"embedded"`
|
||||
AuthorName string `json:"authorName" gorm:"column:author_name"`
|
||||
}
|
||||
type BookChapterResponse struct {
|
||||
BookChapter book.BookChapter `json:"bookChapter"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user