初始化项目框架,完成部分接口开发
This commit is contained in:
27
internal/dao/books.go
Normal file
27
internal/dao/books.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"server/internal/dao/internal"
|
||||
)
|
||||
|
||||
// internalBooksDao is an internal type for wrapping the internal DAO implementation.
|
||||
type internalBooksDao = *internal.BooksDao
|
||||
|
||||
// booksDao is the data access object for the table books.
|
||||
// You can define custom methods on it to extend its functionality as needed.
|
||||
type booksDao struct {
|
||||
internalBooksDao
|
||||
}
|
||||
|
||||
var (
|
||||
// Books is a globally accessible object for table books operations.
|
||||
Books = booksDao{
|
||||
internal.NewBooksDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Add your custom methods and functionality below.
|
||||
Reference in New Issue
Block a user