sync: 同步 v1.0.4 开源代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 14:52:43 +08:00
parent 32e4316ee4
commit 6893e21f07
136 changed files with 9851 additions and 436 deletions
+101
View File
@@ -0,0 +1,101 @@
// ==========================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"context"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"
)
// SysConfigDao is the data access object for the table sys_config.
type SysConfigDao struct {
table string // table is the underlying table name of the DAO.
group string // group is the database configuration group name of the current DAO.
columns SysConfigColumns // columns contains all the column names of Table for convenient usage.
handlers []gdb.ModelHandler // handlers for customized model modification.
}
// SysConfigColumns defines and stores column names for the table sys_config.
type SysConfigColumns struct {
ConfigId string //
TenantId string //
ConfigName string //
ConfigKey string //
ConfigValue string //
ConfigType string //
CreatedDept string //
CreatedBy string //
CreatedAt string //
UpdatedBy string //
UpdatedAt string //
Remark string //
}
// sysConfigColumns holds the columns for the table sys_config.
var sysConfigColumns = SysConfigColumns{
ConfigId: "config_id",
TenantId: "tenant_id",
ConfigName: "config_name",
ConfigKey: "config_key",
ConfigValue: "config_value",
ConfigType: "config_type",
CreatedDept: "created_dept",
CreatedBy: "created_by",
CreatedAt: "created_at",
UpdatedBy: "updated_by",
UpdatedAt: "updated_at",
Remark: "remark",
}
// NewSysConfigDao creates and returns a new DAO object for table data access.
func NewSysConfigDao(handlers ...gdb.ModelHandler) *SysConfigDao {
return &SysConfigDao{
group: "default",
table: "sys_config",
columns: sysConfigColumns,
handlers: handlers,
}
}
// DB retrieves and returns the underlying raw database management object of the current DAO.
func (dao *SysConfigDao) DB() gdb.DB {
return g.DB(dao.group)
}
// Table returns the table name of the current DAO.
func (dao *SysConfigDao) Table() string {
return dao.table
}
// Columns returns all column names of the current DAO.
func (dao *SysConfigDao) Columns() SysConfigColumns {
return dao.columns
}
// Group returns the database configuration group name of the current DAO.
func (dao *SysConfigDao) Group() string {
return dao.group
}
// Ctx creates and returns a Model for the current DAO. It automatically sets the context for the current operation.
func (dao *SysConfigDao) Ctx(ctx context.Context) *gdb.Model {
model := dao.DB().Model(dao.table)
for _, handler := range dao.handlers {
model = handler(model)
}
return model.Safe().Ctx(ctx)
}
// Transaction wraps the transaction logic using function f.
// It rolls back the transaction and returns the error if function f returns a non-nil error.
// It commits the transaction and returns nil if function f returns nil.
//
// Note: Do not commit or roll back the transaction in function f,
// as it is automatically handled by this function.
func (dao *SysConfigDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
return dao.Ctx(ctx).Transaction(ctx, f)
}
@@ -0,0 +1,83 @@
// ==========================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"context"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"
)
// SysPermissionRevisionDao is the data access object for the table sys_permission_revision.
type SysPermissionRevisionDao struct {
table string // table is the underlying table name of the DAO.
group string // group is the database configuration group name of the current DAO.
columns SysPermissionRevisionColumns // columns contains all the column names of Table for convenient usage.
handlers []gdb.ModelHandler // handlers for customized model modification.
}
// SysPermissionRevisionColumns defines and stores column names for the table sys_permission_revision.
type SysPermissionRevisionColumns struct {
Id string //
Revision string //
UpdatedAt string //
}
// sysPermissionRevisionColumns holds the columns for the table sys_permission_revision.
var sysPermissionRevisionColumns = SysPermissionRevisionColumns{
Id: "id",
Revision: "revision",
UpdatedAt: "updated_at",
}
// NewSysPermissionRevisionDao creates and returns a new DAO object for table data access.
func NewSysPermissionRevisionDao(handlers ...gdb.ModelHandler) *SysPermissionRevisionDao {
return &SysPermissionRevisionDao{
group: "default",
table: "sys_permission_revision",
columns: sysPermissionRevisionColumns,
handlers: handlers,
}
}
// DB retrieves and returns the underlying raw database management object of the current DAO.
func (dao *SysPermissionRevisionDao) DB() gdb.DB {
return g.DB(dao.group)
}
// Table returns the table name of the current DAO.
func (dao *SysPermissionRevisionDao) Table() string {
return dao.table
}
// Columns returns all column names of the current DAO.
func (dao *SysPermissionRevisionDao) Columns() SysPermissionRevisionColumns {
return dao.columns
}
// Group returns the database configuration group name of the current DAO.
func (dao *SysPermissionRevisionDao) Group() string {
return dao.group
}
// Ctx creates and returns a Model for the current DAO. It automatically sets the context for the current operation.
func (dao *SysPermissionRevisionDao) Ctx(ctx context.Context) *gdb.Model {
model := dao.DB().Model(dao.table)
for _, handler := range dao.handlers {
model = handler(model)
}
return model.Safe().Ctx(ctx)
}
// Transaction wraps the transaction logic using function f.
// It rolls back the transaction and returns the error if function f returns a non-nil error.
// It commits the transaction and returns nil if function f returns nil.
//
// Note: Do not commit or roll back the transaction in function f,
// as it is automatically handled by this function.
func (dao *SysPermissionRevisionDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
return dao.Ctx(ctx).Transaction(ctx, f)
}
+119
View File
@@ -0,0 +1,119 @@
// ==========================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"context"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"
)
// SysRoleDao is the data access object for the table sys_role.
type SysRoleDao struct {
table string // table is the underlying table name of the DAO.
group string // group is the database configuration group name of the current DAO.
columns SysRoleColumns // columns contains all the column names of Table for convenient usage.
handlers []gdb.ModelHandler // handlers for customized model modification.
}
// SysRoleColumns defines and stores column names for the table sys_role.
type SysRoleColumns struct {
RoleId string //
TenantId string //
DeptId string //
RoleName string //
RoleKey string //
RoleSort string //
DataScope string //
MenuCheckStrictly string //
DeptCheckStrictly string //
Status string //
IsPass string //
SourceRoleId string //
SourceDeptId string //
CreatedDept string //
CreatedBy string //
CreatedAt string //
UpdatedBy string //
UpdatedAt string //
DeletedBy string //
DeletedAt string //
Remark string //
}
// sysRoleColumns holds the columns for the table sys_role.
var sysRoleColumns = SysRoleColumns{
RoleId: "role_id",
TenantId: "tenant_id",
DeptId: "dept_id",
RoleName: "role_name",
RoleKey: "role_key",
RoleSort: "role_sort",
DataScope: "data_scope",
MenuCheckStrictly: "menu_check_strictly",
DeptCheckStrictly: "dept_check_strictly",
Status: "status",
IsPass: "is_pass",
SourceRoleId: "source_role_id",
SourceDeptId: "source_dept_id",
CreatedDept: "created_dept",
CreatedBy: "created_by",
CreatedAt: "created_at",
UpdatedBy: "updated_by",
UpdatedAt: "updated_at",
DeletedBy: "deleted_by",
DeletedAt: "deleted_at",
Remark: "remark",
}
// NewSysRoleDao creates and returns a new DAO object for table data access.
func NewSysRoleDao(handlers ...gdb.ModelHandler) *SysRoleDao {
return &SysRoleDao{
group: "default",
table: "sys_role",
columns: sysRoleColumns,
handlers: handlers,
}
}
// DB retrieves and returns the underlying raw database management object of the current DAO.
func (dao *SysRoleDao) DB() gdb.DB {
return g.DB(dao.group)
}
// Table returns the table name of the current DAO.
func (dao *SysRoleDao) Table() string {
return dao.table
}
// Columns returns all column names of the current DAO.
func (dao *SysRoleDao) Columns() SysRoleColumns {
return dao.columns
}
// Group returns the database configuration group name of the current DAO.
func (dao *SysRoleDao) Group() string {
return dao.group
}
// Ctx creates and returns a Model for the current DAO. It automatically sets the context for the current operation.
func (dao *SysRoleDao) Ctx(ctx context.Context) *gdb.Model {
model := dao.DB().Model(dao.table)
for _, handler := range dao.handlers {
model = handler(model)
}
return model.Safe().Ctx(ctx)
}
// Transaction wraps the transaction logic using function f.
// It rolls back the transaction and returns the error if function f returns a non-nil error.
// It commits the transaction and returns nil if function f returns nil.
//
// Note: Do not commit or roll back the transaction in function f,
// as it is automatically handled by this function.
func (dao *SysRoleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
return dao.Ctx(ctx).Transaction(ctx, f)
}
+83
View File
@@ -0,0 +1,83 @@
// ==========================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"context"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"
)
// SysRoleDeptDao is the data access object for the table sys_role_dept.
type SysRoleDeptDao struct {
table string // table is the underlying table name of the DAO.
group string // group is the database configuration group name of the current DAO.
columns SysRoleDeptColumns // columns contains all the column names of Table for convenient usage.
handlers []gdb.ModelHandler // handlers for customized model modification.
}
// SysRoleDeptColumns defines and stores column names for the table sys_role_dept.
type SysRoleDeptColumns struct {
TenantId string //
RoleId string //
DeptId string //
}
// sysRoleDeptColumns holds the columns for the table sys_role_dept.
var sysRoleDeptColumns = SysRoleDeptColumns{
TenantId: "tenant_id",
RoleId: "role_id",
DeptId: "dept_id",
}
// NewSysRoleDeptDao creates and returns a new DAO object for table data access.
func NewSysRoleDeptDao(handlers ...gdb.ModelHandler) *SysRoleDeptDao {
return &SysRoleDeptDao{
group: "default",
table: "sys_role_dept",
columns: sysRoleDeptColumns,
handlers: handlers,
}
}
// DB retrieves and returns the underlying raw database management object of the current DAO.
func (dao *SysRoleDeptDao) DB() gdb.DB {
return g.DB(dao.group)
}
// Table returns the table name of the current DAO.
func (dao *SysRoleDeptDao) Table() string {
return dao.table
}
// Columns returns all column names of the current DAO.
func (dao *SysRoleDeptDao) Columns() SysRoleDeptColumns {
return dao.columns
}
// Group returns the database configuration group name of the current DAO.
func (dao *SysRoleDeptDao) Group() string {
return dao.group
}
// Ctx creates and returns a Model for the current DAO. It automatically sets the context for the current operation.
func (dao *SysRoleDeptDao) Ctx(ctx context.Context) *gdb.Model {
model := dao.DB().Model(dao.table)
for _, handler := range dao.handlers {
model = handler(model)
}
return model.Safe().Ctx(ctx)
}
// Transaction wraps the transaction logic using function f.
// It rolls back the transaction and returns the error if function f returns a non-nil error.
// It commits the transaction and returns nil if function f returns nil.
//
// Note: Do not commit or roll back the transaction in function f,
// as it is automatically handled by this function.
func (dao *SysRoleDeptDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
return dao.Ctx(ctx).Transaction(ctx, f)
}
+85
View File
@@ -0,0 +1,85 @@
// ==========================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"context"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"
)
// SysRoleMenuDao is the data access object for the table sys_role_menu.
type SysRoleMenuDao struct {
table string // table is the underlying table name of the DAO.
group string // group is the database configuration group name of the current DAO.
columns SysRoleMenuColumns // columns contains all the column names of Table for convenient usage.
handlers []gdb.ModelHandler // handlers for customized model modification.
}
// SysRoleMenuColumns defines and stores column names for the table sys_role_menu.
type SysRoleMenuColumns struct {
TenantId string //
RoleId string //
MenuId string //
DataScope string //
}
// sysRoleMenuColumns holds the columns for the table sys_role_menu.
var sysRoleMenuColumns = SysRoleMenuColumns{
TenantId: "tenant_id",
RoleId: "role_id",
MenuId: "menu_id",
DataScope: "data_scope",
}
// NewSysRoleMenuDao creates and returns a new DAO object for table data access.
func NewSysRoleMenuDao(handlers ...gdb.ModelHandler) *SysRoleMenuDao {
return &SysRoleMenuDao{
group: "default",
table: "sys_role_menu",
columns: sysRoleMenuColumns,
handlers: handlers,
}
}
// DB retrieves and returns the underlying raw database management object of the current DAO.
func (dao *SysRoleMenuDao) DB() gdb.DB {
return g.DB(dao.group)
}
// Table returns the table name of the current DAO.
func (dao *SysRoleMenuDao) Table() string {
return dao.table
}
// Columns returns all column names of the current DAO.
func (dao *SysRoleMenuDao) Columns() SysRoleMenuColumns {
return dao.columns
}
// Group returns the database configuration group name of the current DAO.
func (dao *SysRoleMenuDao) Group() string {
return dao.group
}
// Ctx creates and returns a Model for the current DAO. It automatically sets the context for the current operation.
func (dao *SysRoleMenuDao) Ctx(ctx context.Context) *gdb.Model {
model := dao.DB().Model(dao.table)
for _, handler := range dao.handlers {
model = handler(model)
}
return model.Safe().Ctx(ctx)
}
// Transaction wraps the transaction logic using function f.
// It rolls back the transaction and returns the error if function f returns a non-nil error.
// It commits the transaction and returns nil if function f returns nil.
//
// Note: Do not commit or roll back the transaction in function f,
// as it is automatically handled by this function.
func (dao *SysRoleMenuDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
return dao.Ctx(ctx).Transaction(ctx, f)
}
+111
View File
@@ -0,0 +1,111 @@
// ==========================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"context"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"
)
// SysRoleSyncTaskDao is the data access object for the table sys_role_sync_task.
type SysRoleSyncTaskDao struct {
table string // table is the underlying table name of the DAO.
group string // group is the database configuration group name of the current DAO.
columns SysRoleSyncTaskColumns // columns contains all the column names of Table for convenient usage.
handlers []gdb.ModelHandler // handlers for customized model modification.
}
// SysRoleSyncTaskColumns defines and stores column names for the table sys_role_sync_task.
type SysRoleSyncTaskColumns struct {
TaskId string //
TenantId string //
SourceRoleId string //
SourceDeptId string //
ActorId string //
Status string //
Attempts string //
NextAttemptAt string //
LeaseUntil string //
LeaseToken string //
Payload string //
LastError string //
TotalCount string //
SuccessCount string //
FailedCount string //
CreatedAt string //
UpdatedAt string //
}
// sysRoleSyncTaskColumns holds the columns for the table sys_role_sync_task.
var sysRoleSyncTaskColumns = SysRoleSyncTaskColumns{
TaskId: "task_id",
TenantId: "tenant_id",
SourceRoleId: "source_role_id",
SourceDeptId: "source_dept_id",
ActorId: "actor_id",
Status: "status",
Attempts: "attempts",
NextAttemptAt: "next_attempt_at",
LeaseUntil: "lease_until",
LeaseToken: "lease_token",
Payload: "payload",
LastError: "last_error",
TotalCount: "total_count",
SuccessCount: "success_count",
FailedCount: "failed_count",
CreatedAt: "created_at",
UpdatedAt: "updated_at",
}
// NewSysRoleSyncTaskDao creates and returns a new DAO object for table data access.
func NewSysRoleSyncTaskDao(handlers ...gdb.ModelHandler) *SysRoleSyncTaskDao {
return &SysRoleSyncTaskDao{
group: "default",
table: "sys_role_sync_task",
columns: sysRoleSyncTaskColumns,
handlers: handlers,
}
}
// DB retrieves and returns the underlying raw database management object of the current DAO.
func (dao *SysRoleSyncTaskDao) DB() gdb.DB {
return g.DB(dao.group)
}
// Table returns the table name of the current DAO.
func (dao *SysRoleSyncTaskDao) Table() string {
return dao.table
}
// Columns returns all column names of the current DAO.
func (dao *SysRoleSyncTaskDao) Columns() SysRoleSyncTaskColumns {
return dao.columns
}
// Group returns the database configuration group name of the current DAO.
func (dao *SysRoleSyncTaskDao) Group() string {
return dao.group
}
// Ctx creates and returns a Model for the current DAO. It automatically sets the context for the current operation.
func (dao *SysRoleSyncTaskDao) Ctx(ctx context.Context) *gdb.Model {
model := dao.DB().Model(dao.table)
for _, handler := range dao.handlers {
model = handler(model)
}
return model.Safe().Ctx(ctx)
}
// Transaction wraps the transaction logic using function f.
// It rolls back the transaction and returns the error if function f returns a non-nil error.
// It commits the transaction and returns nil if function f returns nil.
//
// Note: Do not commit or roll back the transaction in function f,
// as it is automatically handled by this function.
func (dao *SysRoleSyncTaskDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
return dao.Ctx(ctx).Transaction(ctx, f)
}
+83
View File
@@ -0,0 +1,83 @@
// ==========================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"context"
"github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/v2/frame/g"
)
// SysUserRoleDao is the data access object for the table sys_user_role.
type SysUserRoleDao struct {
table string // table is the underlying table name of the DAO.
group string // group is the database configuration group name of the current DAO.
columns SysUserRoleColumns // columns contains all the column names of Table for convenient usage.
handlers []gdb.ModelHandler // handlers for customized model modification.
}
// SysUserRoleColumns defines and stores column names for the table sys_user_role.
type SysUserRoleColumns struct {
TenantId string //
UserId string //
RoleId string //
}
// sysUserRoleColumns holds the columns for the table sys_user_role.
var sysUserRoleColumns = SysUserRoleColumns{
TenantId: "tenant_id",
UserId: "user_id",
RoleId: "role_id",
}
// NewSysUserRoleDao creates and returns a new DAO object for table data access.
func NewSysUserRoleDao(handlers ...gdb.ModelHandler) *SysUserRoleDao {
return &SysUserRoleDao{
group: "default",
table: "sys_user_role",
columns: sysUserRoleColumns,
handlers: handlers,
}
}
// DB retrieves and returns the underlying raw database management object of the current DAO.
func (dao *SysUserRoleDao) DB() gdb.DB {
return g.DB(dao.group)
}
// Table returns the table name of the current DAO.
func (dao *SysUserRoleDao) Table() string {
return dao.table
}
// Columns returns all column names of the current DAO.
func (dao *SysUserRoleDao) Columns() SysUserRoleColumns {
return dao.columns
}
// Group returns the database configuration group name of the current DAO.
func (dao *SysUserRoleDao) Group() string {
return dao.group
}
// Ctx creates and returns a Model for the current DAO. It automatically sets the context for the current operation.
func (dao *SysUserRoleDao) Ctx(ctx context.Context) *gdb.Model {
model := dao.DB().Model(dao.table)
for _, handler := range dao.handlers {
model = handler(model)
}
return model.Safe().Ctx(ctx)
}
// Transaction wraps the transaction logic using function f.
// It rolls back the transaction and returns the error if function f returns a non-nil error.
// It commits the transaction and returns nil if function f returns nil.
//
// Note: Do not commit or roll back the transaction in function f,
// as it is automatically handled by this function.
func (dao *SysUserRoleDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
return dao.Ctx(ctx).Transaction(ctx, f)
}
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
// =================================================================================
package dao
import (
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/dao/internal"
)
// sysConfigDao is the data access object for the table sys_config.
// You can define custom methods on it to extend its functionality as needed.
type sysConfigDao struct {
*internal.SysConfigDao
}
var (
// SysConfig is a globally accessible object for table sys_config operations.
SysConfig = sysConfigDao{internal.NewSysConfigDao()}
)
// Add your custom methods and functionality below.
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
// =================================================================================
package dao
import (
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/dao/internal"
)
// sysPermissionRevisionDao is the data access object for the table sys_permission_revision.
// You can define custom methods on it to extend its functionality as needed.
type sysPermissionRevisionDao struct {
*internal.SysPermissionRevisionDao
}
var (
// SysPermissionRevision is a globally accessible object for table sys_permission_revision operations.
SysPermissionRevision = sysPermissionRevisionDao{internal.NewSysPermissionRevisionDao()}
)
// Add your custom methods and functionality below.
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
// =================================================================================
package dao
import (
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/dao/internal"
)
// sysRoleDao is the data access object for the table sys_role.
// You can define custom methods on it to extend its functionality as needed.
type sysRoleDao struct {
*internal.SysRoleDao
}
var (
// SysRole is a globally accessible object for table sys_role operations.
SysRole = sysRoleDao{internal.NewSysRoleDao()}
)
// Add your custom methods and functionality below.
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
// =================================================================================
package dao
import (
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/dao/internal"
)
// sysRoleDeptDao is the data access object for the table sys_role_dept.
// You can define custom methods on it to extend its functionality as needed.
type sysRoleDeptDao struct {
*internal.SysRoleDeptDao
}
var (
// SysRoleDept is a globally accessible object for table sys_role_dept operations.
SysRoleDept = sysRoleDeptDao{internal.NewSysRoleDeptDao()}
)
// Add your custom methods and functionality below.
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
// =================================================================================
package dao
import (
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/dao/internal"
)
// sysRoleMenuDao is the data access object for the table sys_role_menu.
// You can define custom methods on it to extend its functionality as needed.
type sysRoleMenuDao struct {
*internal.SysRoleMenuDao
}
var (
// SysRoleMenu is a globally accessible object for table sys_role_menu operations.
SysRoleMenu = sysRoleMenuDao{internal.NewSysRoleMenuDao()}
)
// Add your custom methods and functionality below.
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
// =================================================================================
package dao
import (
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/dao/internal"
)
// sysRoleSyncTaskDao is the data access object for the table sys_role_sync_task.
// You can define custom methods on it to extend its functionality as needed.
type sysRoleSyncTaskDao struct {
*internal.SysRoleSyncTaskDao
}
var (
// SysRoleSyncTask is a globally accessible object for table sys_role_sync_task operations.
SysRoleSyncTask = sysRoleSyncTaskDao{internal.NewSysRoleSyncTaskDao()}
)
// Add your custom methods and functionality below.
+22
View File
@@ -0,0 +1,22 @@
// =================================================================================
// This file is auto-generated by the GoFrame CLI tool. You may modify it as needed.
// =================================================================================
package dao
import (
"git.5iot.com/iotlcm-public/iotlcm-worker-svr/internal/dao/internal"
)
// sysUserRoleDao is the data access object for the table sys_user_role.
// You can define custom methods on it to extend its functionality as needed.
type sysUserRoleDao struct {
*internal.SysUserRoleDao
}
var (
// SysUserRole is a globally accessible object for table sys_user_role operations.
SysUserRole = sysUserRoleDao{internal.NewSysUserRoleDao()}
)
// Add your custom methods and functionality below.