package book

import "github.com/flipped-aurora/gin-vue-admin/server/service"

type ApiGroup struct {
	BookApi
	BookAuthorApi
	BookAuthorRelationApi
	BookChapterApi
	BookCommentApi
	BookCommentLikeRecordApi
	BookFavoriteRecordApi
	BookReadRecordApi
	BookSeriesApi
}

var (
	bookService                  = service.ServiceGroupApp.BookServiceGroup.BookService
	bookAuthorService            = service.ServiceGroupApp.BookServiceGroup.BookAuthorService
	bookAuthorRelationService    = service.ServiceGroupApp.BookServiceGroup.BookAuthorRelationService
	bookChapterService           = service.ServiceGroupApp.BookServiceGroup.BookChapterService
	bookCommentService           = service.ServiceGroupApp.BookServiceGroup.BookCommentService
	bookCommentLikeRecordService = service.ServiceGroupApp.BookServiceGroup.BookCommentLikeRecordService
	bookFavoriteRecordService    = service.ServiceGroupApp.BookServiceGroup.BookFavoriteRecordService
	bookReadRecordService        = service.ServiceGroupApp.BookServiceGroup.BookReadRecordService
	bookSeriesService            = service.ServiceGroupApp.BookServiceGroup.BookSeriesService
)
