// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================

package service

import (
	"context"
	"server/internal/model"
)

type (
	IBookshelve interface {
		// Add 添加书架
		Add(ctx context.Context, in *model.BookshelveAddIn) (out *model.BookshelveCRUDOut, err error)
		// Delete 批量删除书架
		Delete(ctx context.Context, in *model.BookshelveDelIn) (out *model.BookshelveCRUDOut, err error)
	}
)

var (
	localBookshelve IBookshelve
)

func Bookshelve() IBookshelve {
	if localBookshelve == nil {
		panic("implement not found for interface IBookshelve, forgot register?")
	}
	return localBookshelve
}

func RegisterBookshelve(i IBookshelve) {
	localBookshelve = i
}
