生成表结构、
This commit is contained in:
27
internal/dao/competitions.go
Normal file
27
internal/dao/competitions.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"
|
||||
)
|
||||
|
||||
// internalCompetitionsDao is an internal type for wrapping the internal DAO implementation.
|
||||
type internalCompetitionsDao = *internal.CompetitionsDao
|
||||
|
||||
// competitionsDao is the data access object for the table competitions.
|
||||
// You can define custom methods on it to extend its functionality as needed.
|
||||
type competitionsDao struct {
|
||||
internalCompetitionsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// Competitions is a globally accessible object for table competitions operations.
|
||||
Competitions = competitionsDao{
|
||||
internal.NewCompetitionsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Add your custom methods and functionality below.
|
||||
Reference in New Issue
Block a user