初始化项目框架,完成部分接口开发
This commit is contained in:
27
internal/dao/authors.go
Normal file
27
internal/dao/authors.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"
|
||||
)
|
||||
|
||||
// internalAuthorsDao is an internal type for wrapping the internal DAO implementation.
|
||||
type internalAuthorsDao = *internal.AuthorsDao
|
||||
|
||||
// authorsDao is the data access object for the table authors.
|
||||
// You can define custom methods on it to extend its functionality as needed.
|
||||
type authorsDao struct {
|
||||
internalAuthorsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// Authors is a globally accessible object for table authors operations.
|
||||
Authors = authorsDao{
|
||||
internal.NewAuthorsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Add your custom methods and functionality below.
|
||||
Reference in New Issue
Block a user