创建任务表、用户任务表,生成 model、dao
This commit is contained in:
27
internal/dao/user_tasks.go
Normal file
27
internal/dao/user_tasks.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"
|
||||
)
|
||||
|
||||
// internalUserTasksDao is an internal type for wrapping the internal DAO implementation.
|
||||
type internalUserTasksDao = *internal.UserTasksDao
|
||||
|
||||
// userTasksDao is the data access object for the table user_tasks.
|
||||
// You can define custom methods on it to extend its functionality as needed.
|
||||
type userTasksDao struct {
|
||||
internalUserTasksDao
|
||||
}
|
||||
|
||||
var (
|
||||
// UserTasks is a globally accessible object for table user_tasks operations.
|
||||
UserTasks = userTasksDao{
|
||||
internal.NewUserTasksDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Add your custom methods and functionality below.
|
||||
Reference in New Issue
Block a user