初始
This commit is contained in:
27
internal/app/system/dao/app_menus.go
Normal file
27
internal/app/system/dao/app_menus.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalAppMenusDao is internal type for wrapping internal DAO implements.
|
||||
type internalAppMenusDao = *internal.AppMenusDao
|
||||
|
||||
// appMenusDao is the data access object for table app_menus.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type appMenusDao struct {
|
||||
internalAppMenusDao
|
||||
}
|
||||
|
||||
var (
|
||||
// AppMenus is globally public accessible object for table app_menus operations.
|
||||
AppMenus = appMenusDao{
|
||||
internal.NewAppMenusDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/app_role_menus.go
Normal file
29
internal/app/system/dao/app_role_menus.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-05-28 15:11:14
|
||||
// 生成路径: internal/app/system/dao/app_role_menus.go
|
||||
// 生成人:gfast
|
||||
// desc:app角色绑定菜单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// appRoleMenusDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type appRoleMenusDao struct {
|
||||
*internal.AppRoleMenusDao
|
||||
}
|
||||
|
||||
var (
|
||||
// AppRoleMenus is globally public accessible object for table tools_gen_table operations.
|
||||
AppRoleMenus = appRoleMenusDao{
|
||||
internal.NewAppRoleMenusDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/app_roles.go
Normal file
27
internal/app/system/dao/app_roles.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalAppRolesDao is internal type for wrapping internal DAO implements.
|
||||
type internalAppRolesDao = *internal.AppRolesDao
|
||||
|
||||
// appRolesDao is the data access object for table app_roles.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type appRolesDao struct {
|
||||
internalAppRolesDao
|
||||
}
|
||||
|
||||
var (
|
||||
// AppRoles is globally public accessible object for table app_roles operations.
|
||||
AppRoles = appRolesDao{
|
||||
internal.NewAppRolesDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/app_user_disable_menus.go
Normal file
27
internal/app/system/dao/app_user_disable_menus.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalAppUserDisableMenusDao is internal type for wrapping internal DAO implements.
|
||||
type internalAppUserDisableMenusDao = *internal.AppUserDisableMenusDao
|
||||
|
||||
// appUserDisableMenusDao is the data access object for table app_user_disable_menus.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type appUserDisableMenusDao struct {
|
||||
internalAppUserDisableMenusDao
|
||||
}
|
||||
|
||||
var (
|
||||
// AppUserDisableMenus is globally public accessible object for table app_user_disable_menus operations.
|
||||
AppUserDisableMenus = appUserDisableMenusDao{
|
||||
internal.NewAppUserDisableMenusDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/app_user_menus.go
Normal file
27
internal/app/system/dao/app_user_menus.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalAppUserMenusDao is internal type for wrapping internal DAO implements.
|
||||
type internalAppUserMenusDao = *internal.AppUserMenusDao
|
||||
|
||||
// appUserMenusDao is the data access object for table app_user_menus.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type appUserMenusDao struct {
|
||||
internalAppUserMenusDao
|
||||
}
|
||||
|
||||
var (
|
||||
// AppUserMenus is globally public accessible object for table app_user_menus operations.
|
||||
AppUserMenus = appUserMenusDao{
|
||||
internal.NewAppUserMenusDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/app_user_roles.go
Normal file
27
internal/app/system/dao/app_user_roles.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalAppUserRolesDao is internal type for wrapping internal DAO implements.
|
||||
type internalAppUserRolesDao = *internal.AppUserRolesDao
|
||||
|
||||
// appUserRolesDao is the data access object for table app_user_roles.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type appUserRolesDao struct {
|
||||
internalAppUserRolesDao
|
||||
}
|
||||
|
||||
var (
|
||||
// AppUserRoles is globally public accessible object for table app_user_roles operations.
|
||||
AppUserRoles = appUserRolesDao{
|
||||
internal.NewAppUserRolesDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/app_versions.go
Normal file
27
internal/app/system/dao/app_versions.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalAppVersionsDao is internal type for wrapping internal DAO implements.
|
||||
type internalAppVersionsDao = *internal.AppVersionsDao
|
||||
|
||||
// appVersionsDao is the data access object for table app_versions.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type appVersionsDao struct {
|
||||
internalAppVersionsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// AppVersions is globally public accessible object for table app_versions operations.
|
||||
AppVersions = appVersionsDao{
|
||||
internal.NewAppVersionsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/big_file.go
Normal file
27
internal/app/system/dao/big_file.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalBigFileDao is internal type for wrapping internal DAO implements.
|
||||
type internalBigFileDao = *internal.BigFileDao
|
||||
|
||||
// bigFileDao is the data access object for table big_file.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type bigFileDao struct {
|
||||
internalBigFileDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BigFile is globally public accessible object for table big_file operations.
|
||||
BigFile = bigFileDao{
|
||||
internal.NewBigFileDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_attendance_machine.go
Normal file
29
internal/app/system/dao/bus_attendance_machine.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2025-03-03 10:32:47
|
||||
// 生成路径: internal/app/system/dao/bus_attendance_machine.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busAttendanceMachineDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busAttendanceMachineDao struct {
|
||||
*internal.BusAttendanceMachineDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusAttendanceMachine is globally public accessible object for table tools_gen_table operations.
|
||||
BusAttendanceMachine = busAttendanceMachineDao{
|
||||
internal.NewBusAttendanceMachineDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_attendance_machine_user.go
Normal file
29
internal/app/system/dao/bus_attendance_machine_user.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2025-03-03 10:33:17
|
||||
// 生成路径: internal/app/system/dao/bus_attendance_machine_user.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机用户列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busAttendanceMachineUserDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busAttendanceMachineUserDao struct {
|
||||
*internal.BusAttendanceMachineUserDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusAttendanceMachineUser is globally public accessible object for table tools_gen_table operations.
|
||||
BusAttendanceMachineUser = busAttendanceMachineUserDao{
|
||||
internal.NewBusAttendanceMachineUserDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_camera_channel.go
Normal file
29
internal/app/system/dao/bus_camera_channel.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-20 14:55:42
|
||||
// 生成路径: internal/app/system/dao/bus_camera_channel.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标通道)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busCameraChannelDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busCameraChannelDao struct {
|
||||
*internal.BusCameraChannelDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusCameraChannel is globally public accessible object for table tools_gen_table operations.
|
||||
BusCameraChannel = busCameraChannelDao{
|
||||
internal.NewBusCameraChannelDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_camera_chinese_standard.go
Normal file
29
internal/app/system/dao/bus_camera_chinese_standard.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-20 14:55:24
|
||||
// 生成路径: internal/app/system/dao/bus_camera_chinese_standard.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busCameraChineseStandardDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busCameraChineseStandardDao struct {
|
||||
*internal.BusCameraChineseStandardDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusCameraChineseStandard is globally public accessible object for table tools_gen_table operations.
|
||||
BusCameraChineseStandard = busCameraChineseStandardDao{
|
||||
internal.NewBusCameraChineseStandardDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_category.go
Normal file
29
internal/app/system/dao/bus_category.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-10-07 15:52:19
|
||||
// 生成路径: internal/app/system/dao/bus_category.go
|
||||
// 生成人:gfast
|
||||
// desc:题库_题库类别
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busCategoryDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busCategoryDao struct {
|
||||
*internal.BusCategoryDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusCategory is globally public accessible object for table tools_gen_table operations.
|
||||
BusCategory = busCategoryDao{
|
||||
internal.NewBusCategoryDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_company.go
Normal file
29
internal/app/system/dao/bus_company.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-28 14:08:14
|
||||
// 生成路径: internal/app/system/dao/bus_company.go
|
||||
// 生成人:gfast
|
||||
// desc:公司
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busCompanyDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busCompanyDao struct {
|
||||
*internal.BusCompanyDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusCompany is globally public accessible object for table tools_gen_table operations.
|
||||
BusCompany = busCompanyDao{
|
||||
internal.NewBusCompanyDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_complaint_box.go
Normal file
29
internal/app/system/dao/bus_complaint_box.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-12-04 18:09:50
|
||||
// 生成路径: internal/app/system/dao/bus_complaint_box.go
|
||||
// 生成人:gfast
|
||||
// desc:意见箱
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busComplaintBoxDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busComplaintBoxDao struct {
|
||||
*internal.BusComplaintBoxDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusComplaintBox is globally public accessible object for table tools_gen_table operations.
|
||||
BusComplaintBox = busComplaintBoxDao{
|
||||
internal.NewBusComplaintBoxDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_construction_blacklist.go
Normal file
29
internal/app/system/dao/bus_construction_blacklist.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-11-10 14:08:39
|
||||
// 生成路径: internal/app/system/dao/bus_construction_blacklist.go
|
||||
// 生成人:gfast
|
||||
// desc:黑名单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busConstructionBlacklistDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busConstructionBlacklistDao struct {
|
||||
*internal.BusConstructionBlacklistDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusConstructionBlacklist is globally public accessible object for table tools_gen_table operations.
|
||||
BusConstructionBlacklist = busConstructionBlacklistDao{
|
||||
internal.NewBusConstructionBlacklistDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_construction_log.go
Normal file
29
internal/app/system/dao/bus_construction_log.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-22 16:27:43
|
||||
// 生成路径: internal/app/system/dao/bus_construction_log.go
|
||||
// 生成人:gfast
|
||||
// desc:施工日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busConstructionLogDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busConstructionLogDao struct {
|
||||
*internal.BusConstructionLogDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusConstructionLog is globally public accessible object for table tools_gen_table operations.
|
||||
BusConstructionLog = busConstructionLogDao{
|
||||
internal.NewBusConstructionLogDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_construction_project.go
Normal file
29
internal/app/system/dao/bus_construction_project.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-07 10:17:50
|
||||
// 生成路径: internal/app/system/dao/bus_construction_project.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员对应项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busConstructionProjectDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busConstructionProjectDao struct {
|
||||
*internal.BusConstructionProjectDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusConstructionProject is globally public accessible object for table tools_gen_table operations.
|
||||
BusConstructionProject = busConstructionProjectDao{
|
||||
internal.NewBusConstructionProjectDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_construction_user.go
Normal file
29
internal/app/system/dao/bus_construction_user.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-07 10:31:18
|
||||
// 生成路径: internal/app/system/dao/bus_construction_user.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busConstructionUserDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busConstructionUserDao struct {
|
||||
*internal.BusConstructionUserDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusConstructionUser is globally public accessible object for table tools_gen_table operations.
|
||||
BusConstructionUser = busConstructionUserDao{
|
||||
internal.NewBusConstructionUserDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_construction_user_file.go
Normal file
29
internal/app/system/dao/bus_construction_user_file.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-07 10:17:41
|
||||
// 生成路径: internal/app/system/dao/bus_construction_user_file.go
|
||||
// 生成人:gfast
|
||||
// desc:微信用户的文件存储
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busConstructionUserFileDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busConstructionUserFileDao struct {
|
||||
*internal.BusConstructionUserFileDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusConstructionUserFile is globally public accessible object for table tools_gen_table operations.
|
||||
BusConstructionUserFile = busConstructionUserFileDao{
|
||||
internal.NewBusConstructionUserFileDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_construction_user_post.go
Normal file
29
internal/app/system/dao/bus_construction_user_post.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-07 10:06:34
|
||||
// 生成路径: internal/app/system/dao/bus_construction_user_post.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员岗位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busConstructionUserPostDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busConstructionUserPostDao struct {
|
||||
*internal.BusConstructionUserPostDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusConstructionUserPost is globally public accessible object for table tools_gen_table operations.
|
||||
BusConstructionUserPost = busConstructionUserPostDao{
|
||||
internal.NewBusConstructionUserPostDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_corporate_events.go
Normal file
29
internal/app/system/dao/bus_corporate_events.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-20 16:49:36
|
||||
// 生成路径: internal/app/system/dao/bus_corporate_events.go
|
||||
// 生成人:gfast
|
||||
// desc:企业大事记
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busCorporateEventsDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busCorporateEventsDao struct {
|
||||
*internal.BusCorporateEventsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusCorporateEvents is globally public accessible object for table tools_gen_table operations.
|
||||
BusCorporateEvents = busCorporateEventsDao{
|
||||
internal.NewBusCorporateEventsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_design_audit.go
Normal file
29
internal/app/system/dao/bus_design_audit.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-04-09 15:40:16
|
||||
// 生成路径: internal/app/system/dao/bus_design_audit.go
|
||||
// 生成人:gfast
|
||||
// desc:设计审核(竣工、施工、可研)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busDesignAuditDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busDesignAuditDao struct {
|
||||
*internal.BusDesignAuditDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusDesignAudit is globally public accessible object for table tools_gen_table operations.
|
||||
BusDesignAudit = busDesignAuditDao{
|
||||
internal.NewBusDesignAuditDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_design_document.go
Normal file
29
internal/app/system/dao/bus_design_document.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 16:31:29
|
||||
// 生成路径: internal/app/system/dao/bus_design_document.go
|
||||
// 生成人:gfast
|
||||
// desc:设计管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busDesignDocumentDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busDesignDocumentDao struct {
|
||||
*internal.BusDesignDocumentDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusDesignDocument is globally public accessible object for table tools_gen_table operations.
|
||||
BusDesignDocument = busDesignDocumentDao{
|
||||
internal.NewBusDesignDocumentDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_design_period_range.go
Normal file
29
internal/app/system/dao/bus_design_period_range.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-04-11 17:28:54
|
||||
// 生成路径: internal/app/system/dao/bus_design_period_range.go
|
||||
// 生成人:gfast
|
||||
// desc:设计-周期范围
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busDesignPeriodRangeDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busDesignPeriodRangeDao struct {
|
||||
*internal.BusDesignPeriodRangeDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusDesignPeriodRange is globally public accessible object for table tools_gen_table operations.
|
||||
BusDesignPeriodRange = busDesignPeriodRangeDao{
|
||||
internal.NewBusDesignPeriodRangeDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_engineering_quality.go
Normal file
29
internal/app/system/dao/bus_engineering_quality.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 09:31:22
|
||||
// 生成路径: internal/app/system/dao/bus_engineering_quality.go
|
||||
// 生成人:gfast
|
||||
// desc:工程质量列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busEngineeringQualityDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busEngineeringQualityDao struct {
|
||||
*internal.BusEngineeringQualityDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusEngineeringQuality is globally public accessible object for table tools_gen_table operations.
|
||||
BusEngineeringQuality = busEngineeringQualityDao{
|
||||
internal.NewBusEngineeringQualityDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_equipment_equipment_unpacking.go
Normal file
29
internal/app/system/dao/bus_equipment_equipment_unpacking.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 11:14:45
|
||||
// 生成路径: internal/app/system/dao/bus_equipment_equipment_unpacking.go
|
||||
// 生成人:gfast
|
||||
// desc:开箱记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busEquipmentEquipmentUnpackingDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busEquipmentEquipmentUnpackingDao struct {
|
||||
*internal.BusEquipmentEquipmentUnpackingDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusEquipmentEquipmentUnpacking is globally public accessible object for table tools_gen_table operations.
|
||||
BusEquipmentEquipmentUnpacking = busEquipmentEquipmentUnpackingDao{
|
||||
internal.NewBusEquipmentEquipmentUnpackingDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_equipment_materials.go
Normal file
29
internal/app/system/dao/bus_equipment_materials.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 11:14:16
|
||||
// 生成路径: internal/app/system/dao/bus_equipment_materials.go
|
||||
// 生成人:gfast
|
||||
// desc:材料/设备名称
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busEquipmentMaterialsDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busEquipmentMaterialsDao struct {
|
||||
*internal.BusEquipmentMaterialsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusEquipmentMaterials is globally public accessible object for table tools_gen_table operations.
|
||||
BusEquipmentMaterials = busEquipmentMaterialsDao{
|
||||
internal.NewBusEquipmentMaterialsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_equipment_materials_inventory.go
Normal file
29
internal/app/system/dao/bus_equipment_materials_inventory.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-13 14:21:30
|
||||
// 生成路径: internal/app/system/dao/bus_equipment_materials_inventory.go
|
||||
// 生成人:gfast
|
||||
// desc:设备材料入库
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busEquipmentMaterialsInventoryDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busEquipmentMaterialsInventoryDao struct {
|
||||
*internal.BusEquipmentMaterialsInventoryDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusEquipmentMaterialsInventory is globally public accessible object for table tools_gen_table operations.
|
||||
BusEquipmentMaterialsInventory = busEquipmentMaterialsInventoryDao{
|
||||
internal.NewBusEquipmentMaterialsInventoryDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalBusEquipmentMaterialsInventoryFileDao is internal type for wrapping internal DAO implements.
|
||||
type internalBusEquipmentMaterialsInventoryFileDao = *internal.BusEquipmentMaterialsInventoryFileDao
|
||||
|
||||
// busEquipmentMaterialsInventoryFileDao is the data access object for table bus_equipment_materials_inventory_file.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busEquipmentMaterialsInventoryFileDao struct {
|
||||
internalBusEquipmentMaterialsInventoryFileDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusEquipmentMaterialsInventoryFile is globally public accessible object for table bus_equipment_materials_inventory_file operations.
|
||||
BusEquipmentMaterialsInventoryFile = busEquipmentMaterialsInventoryFileDao{
|
||||
internal.NewBusEquipmentMaterialsInventoryFileDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_equipment_materials_weight.go
Normal file
29
internal/app/system/dao/bus_equipment_materials_weight.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-28 15:27:53
|
||||
// 生成路径: internal/app/system/dao/bus_equipment_materials_weight.go
|
||||
// 生成人:gfast
|
||||
// desc:计量单位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busEquipmentMaterialsWeightDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busEquipmentMaterialsWeightDao struct {
|
||||
*internal.BusEquipmentMaterialsWeightDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusEquipmentMaterialsWeight is globally public accessible object for table tools_gen_table operations.
|
||||
BusEquipmentMaterialsWeight = busEquipmentMaterialsWeightDao{
|
||||
internal.NewBusEquipmentMaterialsWeightDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_essential_information.go
Normal file
29
internal/app/system/dao/bus_essential_information.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-20 19:38:54
|
||||
// 生成路径: internal/app/system/dao/bus_essential_information.go
|
||||
// 生成人:gfast
|
||||
// desc:项目基本信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busEssentialInformationDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busEssentialInformationDao struct {
|
||||
*internal.BusEssentialInformationDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusEssentialInformation is globally public accessible object for table tools_gen_table operations.
|
||||
BusEssentialInformation = busEssentialInformationDao{
|
||||
internal.NewBusEssentialInformationDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_folder.go
Normal file
29
internal/app/system/dao/bus_folder.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-15 17:15:59
|
||||
// 生成路径: internal/app/system/dao/bus_folder.go
|
||||
// 生成人:gfast
|
||||
// desc:文件夹
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busFolderDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busFolderDao struct {
|
||||
*internal.BusFolderDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusFolder is globally public accessible object for table tools_gen_table operations.
|
||||
BusFolder = busFolderDao{
|
||||
internal.NewBusFolderDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_folder_file.go
Normal file
29
internal/app/system/dao/bus_folder_file.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-15 17:16:00
|
||||
// 生成路径: internal/app/system/dao/bus_folder_file.go
|
||||
// 生成人:gfast
|
||||
// desc:文件
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busFolderFileDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busFolderFileDao struct {
|
||||
*internal.BusFolderFileDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusFolderFile is globally public accessible object for table tools_gen_table operations.
|
||||
BusFolderFile = busFolderFileDao{
|
||||
internal.NewBusFolderFileDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_hse_management.go
Normal file
29
internal/app/system/dao/bus_hse_management.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-28 14:53:05
|
||||
// 生成路径: internal/app/system/dao/bus_hse_management.go
|
||||
// 生成人:gfast
|
||||
// desc:HSE-巡检工单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busHseManagementDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busHseManagementDao struct {
|
||||
*internal.BusHseManagementDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusHseManagement is globally public accessible object for table tools_gen_table operations.
|
||||
BusHseManagement = busHseManagementDao{
|
||||
internal.NewBusHseManagementDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_hse_security_log.go
Normal file
29
internal/app/system/dao/bus_hse_security_log.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-04-07 17:00:45
|
||||
// 生成路径: internal/app/system/dao/bus_hse_security_log.go
|
||||
// 生成人:gfast
|
||||
// desc:HSE安全日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busHseSecurityLogDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busHseSecurityLogDao struct {
|
||||
*internal.BusHseSecurityLogDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusHseSecurityLog is globally public accessible object for table tools_gen_table operations.
|
||||
BusHseSecurityLog = busHseSecurityLogDao{
|
||||
internal.NewBusHseSecurityLogDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_inspection_ticket.go
Normal file
29
internal/app/system/dao/bus_inspection_ticket.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-21 15:23:58
|
||||
// 生成路径: internal/app/system/dao/bus_inspection_ticket.go
|
||||
// 生成人:gfast
|
||||
// desc:质量工单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busInspectionTicketDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busInspectionTicketDao struct {
|
||||
*internal.BusInspectionTicketDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusInspectionTicket is globally public accessible object for table tools_gen_table operations.
|
||||
BusInspectionTicket = busInspectionTicketDao{
|
||||
internal.NewBusInspectionTicketDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_machinery.go
Normal file
29
internal/app/system/dao/bus_machinery.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 14:02:01
|
||||
// 生成路径: internal/app/system/dao/bus_machinery.go
|
||||
// 生成人:gfast
|
||||
// desc:机械
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busMachineryDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busMachineryDao struct {
|
||||
*internal.BusMachineryDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusMachinery is globally public accessible object for table tools_gen_table operations.
|
||||
BusMachinery = busMachineryDao{
|
||||
internal.NewBusMachineryDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_machinery_detail.go
Normal file
29
internal/app/system/dao/bus_machinery_detail.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-10-12 11:41:31
|
||||
// 生成路径: internal/app/system/dao/bus_machinery_detail.go
|
||||
// 生成人:gfast
|
||||
// desc:机械详情
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busMachineryDetailDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busMachineryDetailDao struct {
|
||||
*internal.BusMachineryDetailDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusMachineryDetail is globally public accessible object for table tools_gen_table operations.
|
||||
BusMachineryDetail = busMachineryDetailDao{
|
||||
internal.NewBusMachineryDetailDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/bus_machinery_detail_file.go
Normal file
27
internal/app/system/dao/bus_machinery_detail_file.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalBusMachineryDetailFileDao is internal type for wrapping internal DAO implements.
|
||||
type internalBusMachineryDetailFileDao = *internal.BusMachineryDetailFileDao
|
||||
|
||||
// busMachineryDetailFileDao is the data access object for table bus_machinery_detail_file.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busMachineryDetailFileDao struct {
|
||||
internalBusMachineryDetailFileDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusMachineryDetailFile is globally public accessible object for table bus_machinery_detail_file operations.
|
||||
BusMachineryDetailFile = busMachineryDetailFileDao{
|
||||
internal.NewBusMachineryDetailFileDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/bus_machinery_record.go
Normal file
27
internal/app/system/dao/bus_machinery_record.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalBusMachineryRecordDao is internal type for wrapping internal DAO implements.
|
||||
type internalBusMachineryRecordDao = *internal.BusMachineryRecordDao
|
||||
|
||||
// busMachineryRecordDao is the data access object for table bus_machinery_record.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busMachineryRecordDao struct {
|
||||
internalBusMachineryRecordDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusMachineryRecord is globally public accessible object for table bus_machinery_record operations.
|
||||
BusMachineryRecord = busMachineryRecordDao{
|
||||
internal.NewBusMachineryRecordDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_payroll_list.go
Normal file
29
internal/app/system/dao/bus_payroll_list.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-11-20 13:51:38
|
||||
// 生成路径: internal/app/system/dao/bus_payroll_list.go
|
||||
// 生成人:gfast
|
||||
// desc:工资(excel导入形成的)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busPayrollListDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busPayrollListDao struct {
|
||||
*internal.BusPayrollListDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusPayrollList is globally public accessible object for table tools_gen_table operations.
|
||||
BusPayrollList = busPayrollListDao{
|
||||
internal.NewBusPayrollListDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_presetting_bit.go
Normal file
29
internal/app/system/dao/bus_presetting_bit.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-10-19 15:17:27
|
||||
// 生成路径: internal/app/system/dao/bus_presetting_bit.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头预置位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busPresettingBitDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busPresettingBitDao struct {
|
||||
*internal.BusPresettingBitDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusPresettingBit is globally public accessible object for table tools_gen_table operations.
|
||||
BusPresettingBit = busPresettingBitDao{
|
||||
internal.NewBusPresettingBitDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_projectin_progress.go
Normal file
29
internal/app/system/dao/bus_projectin_progress.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-20 19:45:19
|
||||
// 生成路径: internal/app/system/dao/bus_projectin_progress.go
|
||||
// 生成人:gfast
|
||||
// desc:在建项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busProjectinProgressDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busProjectinProgressDao struct {
|
||||
*internal.BusProjectinProgressDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusProjectinProgress is globally public accessible object for table tools_gen_table operations.
|
||||
BusProjectinProgress = busProjectinProgressDao{
|
||||
internal.NewBusProjectinProgressDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_quality.go
Normal file
29
internal/app/system/dao/bus_quality.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-02 17:11:39
|
||||
// 生成路径: internal/app/system/dao/bus_quality.go
|
||||
// 生成人:gfast
|
||||
// desc:质量文档管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busQualityDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busQualityDao struct {
|
||||
*internal.BusQualityDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusQuality is globally public accessible object for table tools_gen_table operations.
|
||||
BusQuality = busQualityDao{
|
||||
internal.NewBusQualityDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_question_bank.go
Normal file
29
internal/app/system/dao/bus_question_bank.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-10-07 15:52:18
|
||||
// 生成路径: internal/app/system/dao/bus_question_bank.go
|
||||
// 生成人:gfast
|
||||
// desc:题库
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busQuestionBankDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busQuestionBankDao struct {
|
||||
*internal.BusQuestionBankDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusQuestionBank is globally public accessible object for table tools_gen_table operations.
|
||||
BusQuestionBank = busQuestionBankDao{
|
||||
internal.NewBusQuestionBankDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_question_save.go
Normal file
29
internal/app/system/dao/bus_question_save.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-11-01 17:33:04
|
||||
// 生成路径: internal/app/system/dao/bus_question_save.go
|
||||
// 生成人:gfast
|
||||
// desc:用户试卷存储
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busQuestionSaveDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busQuestionSaveDao struct {
|
||||
*internal.BusQuestionSaveDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusQuestionSave is globally public accessible object for table tools_gen_table operations.
|
||||
BusQuestionSave = busQuestionSaveDao{
|
||||
internal.NewBusQuestionSaveDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_questions_configuration.go
Normal file
29
internal/app/system/dao/bus_questions_configuration.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-10-07 17:11:20
|
||||
// 生成路径: internal/app/system/dao/bus_questions_configuration.go
|
||||
// 生成人:gfast
|
||||
// desc:题库配置
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busQuestionsConfigurationDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busQuestionsConfigurationDao struct {
|
||||
*internal.BusQuestionsConfigurationDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusQuestionsConfiguration is globally public accessible object for table tools_gen_table operations.
|
||||
BusQuestionsConfiguration = busQuestionsConfigurationDao{
|
||||
internal.NewBusQuestionsConfigurationDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_reissue_a_card.go
Normal file
29
internal/app/system/dao/bus_reissue_a_card.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-02-02 15:18:48
|
||||
// 生成路径: internal/app/system/dao/bus_reissue_a_card.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员补卡申请
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busReissueACardDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busReissueACardDao struct {
|
||||
*internal.BusReissueACardDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusReissueACard is globally public accessible object for table tools_gen_table operations.
|
||||
BusReissueACard = busReissueACardDao{
|
||||
internal.NewBusReissueACardDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_research_document.go
Normal file
29
internal/app/system/dao/bus_research_document.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 16:04:06
|
||||
// 生成路径: internal/app/system/dao/bus_research_document.go
|
||||
// 生成人:gfast
|
||||
// desc:科研文档
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busResearchDocumentDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busResearchDocumentDao struct {
|
||||
*internal.BusResearchDocumentDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusResearchDocument is globally public accessible object for table tools_gen_table operations.
|
||||
BusResearchDocument = busResearchDocumentDao{
|
||||
internal.NewBusResearchDocumentDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_safety.go
Normal file
29
internal/app/system/dao/bus_safety.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-02 15:40:48
|
||||
// 生成路径: internal/app/system/dao/bus_safety.go
|
||||
// 生成人:gfast
|
||||
// desc:安全例会管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busSafetyDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busSafetyDao struct {
|
||||
*internal.BusSafetyDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusSafety is globally public accessible object for table tools_gen_table operations.
|
||||
BusSafety = busSafetyDao{
|
||||
internal.NewBusSafetyDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_salary_details.go
Normal file
29
internal/app/system/dao/bus_salary_details.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-02-01 16:39:01
|
||||
// 生成路径: internal/app/system/dao/bus_salary_details.go
|
||||
// 生成人:gfast
|
||||
// desc:员工工资考核记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busSalaryDetailsDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busSalaryDetailsDao struct {
|
||||
*internal.BusSalaryDetailsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusSalaryDetails is globally public accessible object for table tools_gen_table operations.
|
||||
BusSalaryDetails = busSalaryDetailsDao{
|
||||
internal.NewBusSalaryDetailsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_scheduled_plan_type.go
Normal file
29
internal/app/system/dao/bus_scheduled_plan_type.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 17:39:12
|
||||
// 生成路径: internal/app/system/dao/bus_scheduled_plan_type.go
|
||||
// 生成人:gfast
|
||||
// desc:施工进度分类
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busScheduledPlanTypeDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busScheduledPlanTypeDao struct {
|
||||
*internal.BusScheduledPlanTypeDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusScheduledPlanType is globally public accessible object for table tools_gen_table operations.
|
||||
BusScheduledPlanType = busScheduledPlanTypeDao{
|
||||
internal.NewBusScheduledPlanTypeDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_scheduled_plan_type_detail.go
Normal file
29
internal/app/system/dao/bus_scheduled_plan_type_detail.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 17:15:27
|
||||
// 生成路径: internal/app/system/dao/bus_scheduled_plan_type_detail.go
|
||||
// 生成人:gfast
|
||||
// desc:施工进度月报,年报分类
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busScheduledPlanTypeDetailDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busScheduledPlanTypeDetailDao struct {
|
||||
*internal.BusScheduledPlanTypeDetailDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusScheduledPlanTypeDetail is globally public accessible object for table tools_gen_table operations.
|
||||
BusScheduledPlanTypeDetail = busScheduledPlanTypeDetailDao{
|
||||
internal.NewBusScheduledPlanTypeDetailDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_scheduled_weekly.go
Normal file
29
internal/app/system/dao/bus_scheduled_weekly.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-02 15:28:49
|
||||
// 生成路径: internal/app/system/dao/bus_scheduled_weekly.go
|
||||
// 生成人:gfast
|
||||
// desc:周报
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busScheduledWeeklyDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busScheduledWeeklyDao struct {
|
||||
*internal.BusScheduledWeeklyDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusScheduledWeekly is globally public accessible object for table tools_gen_table operations.
|
||||
BusScheduledWeekly = busScheduledWeeklyDao{
|
||||
internal.NewBusScheduledWeeklyDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_scheduled_weekly_photovoltaic.go
Normal file
29
internal/app/system/dao/bus_scheduled_weekly_photovoltaic.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-08-02 15:21:55
|
||||
// 生成路径: internal/app/system/dao/bus_scheduled_weekly_photovoltaic.go
|
||||
// 生成人:gfast
|
||||
// desc:周报-光伏板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busScheduledWeeklyPhotovoltaicDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busScheduledWeeklyPhotovoltaicDao struct {
|
||||
*internal.BusScheduledWeeklyPhotovoltaicDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusScheduledWeeklyPhotovoltaic is globally public accessible object for table tools_gen_table operations.
|
||||
BusScheduledWeeklyPhotovoltaic = busScheduledWeeklyPhotovoltaicDao{
|
||||
internal.NewBusScheduledWeeklyPhotovoltaicDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_standing_book.go
Normal file
29
internal/app/system/dao/bus_standing_book.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-07-29 11:36:04
|
||||
// 生成路径: internal/app/system/dao/bus_standing_book.go
|
||||
// 生成人:gfast
|
||||
// desc:台账
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busStandingBookDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busStandingBookDao struct {
|
||||
*internal.BusStandingBookDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusStandingBook is globally public accessible object for table tools_gen_table operations.
|
||||
BusStandingBook = busStandingBookDao{
|
||||
internal.NewBusStandingBookDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_tour.go
Normal file
29
internal/app/system/dao/bus_tour.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-10-10 12:11:05
|
||||
// 生成路径: internal/app/system/dao/bus_tour.go
|
||||
// 生成人:gfast
|
||||
// desc:煤科巡视-故障记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busTourDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busTourDao struct {
|
||||
*internal.BusTourDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusTour is globally public accessible object for table tools_gen_table operations.
|
||||
BusTour = busTourDao{
|
||||
internal.NewBusTourDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_type_of_wage.go
Normal file
29
internal/app/system/dao/bus_type_of_wage.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-05 10:07:11
|
||||
// 生成路径: internal/app/system/dao/bus_type_of_wage.go
|
||||
// 生成人:gfast
|
||||
// desc:工种薪水
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busTypeOfWageDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busTypeOfWageDao struct {
|
||||
*internal.BusTypeOfWageDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusTypeOfWage is globally public accessible object for table tools_gen_table operations.
|
||||
BusTypeOfWage = busTypeOfWageDao{
|
||||
internal.NewBusTypeOfWageDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_violation_level.go
Normal file
29
internal/app/system/dao/bus_violation_level.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-11-20 11:18:36
|
||||
// 生成路径: internal/app/system/dao/bus_violation_level.go
|
||||
// 生成人:gfast
|
||||
// desc:违章等级
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busViolationLevelDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busViolationLevelDao struct {
|
||||
*internal.BusViolationLevelDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusViolationLevel is globally public accessible object for table tools_gen_table operations.
|
||||
BusViolationLevel = busViolationLevelDao{
|
||||
internal.NewBusViolationLevelDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_violation_record.go
Normal file
29
internal/app/system/dao/bus_violation_record.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-11-20 11:18:37
|
||||
// 生成路径: internal/app/system/dao/bus_violation_record.go
|
||||
// 生成人:gfast
|
||||
// desc:违章记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busViolationRecordDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busViolationRecordDao struct {
|
||||
*internal.BusViolationRecordDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusViolationRecord is globally public accessible object for table tools_gen_table operations.
|
||||
BusViolationRecord = busViolationRecordDao{
|
||||
internal.NewBusViolationRecordDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/bus_weekly_security_report.go
Normal file
29
internal/app/system/dao/bus_weekly_security_report.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-04-02 18:03:23
|
||||
// 生成路径: internal/app/system/dao/bus_weekly_security_report.go
|
||||
// 生成人:gfast
|
||||
// desc:安全周期
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// busWeeklySecurityReportDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type busWeeklySecurityReportDao struct {
|
||||
*internal.BusWeeklySecurityReportDao
|
||||
}
|
||||
|
||||
var (
|
||||
// BusWeeklySecurityReport is globally public accessible object for table tools_gen_table operations.
|
||||
BusWeeklySecurityReport = busWeeklySecurityReportDao{
|
||||
internal.NewBusWeeklySecurityReportDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/comment_list.go
Normal file
29
internal/app/system/dao/comment_list.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-05-14 10:21:06
|
||||
// 生成路径: internal/app/system/dao/comment_list.go
|
||||
// 生成人:gfast
|
||||
// desc:App消息-评论
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// commentListDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type commentListDao struct {
|
||||
*internal.CommentListDao
|
||||
}
|
||||
|
||||
var (
|
||||
// CommentList is globally public accessible object for table tools_gen_table operations.
|
||||
CommentList = commentListDao{
|
||||
internal.NewCommentListDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/comments.go
Normal file
27
internal/app/system/dao/comments.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalCommentsDao is internal type for wrapping internal DAO implements.
|
||||
type internalCommentsDao = *internal.CommentsDao
|
||||
|
||||
// commentsDao is the data access object for table comments.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type commentsDao struct {
|
||||
internalCommentsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// Comments is globally public accessible object for table comments operations.
|
||||
Comments = commentsDao{
|
||||
internal.NewCommentsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/construction_details.go
Normal file
29
internal/app/system/dao/construction_details.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-13 18:10:56
|
||||
// 生成路径: internal/app/system/dao/construction_details.go
|
||||
// 生成人:gfast
|
||||
// desc:施工类别详情
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// constructionDetailsDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type constructionDetailsDao struct {
|
||||
*internal.ConstructionDetailsDao
|
||||
}
|
||||
|
||||
var (
|
||||
// ConstructionDetails is globally public accessible object for table tools_gen_table operations.
|
||||
ConstructionDetails = constructionDetailsDao{
|
||||
internal.NewConstructionDetailsDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/construction_project.go
Normal file
29
internal/app/system/dao/construction_project.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-13 17:36:45
|
||||
// 生成路径: internal/app/system/dao/construction_project.go
|
||||
// 生成人:gfast
|
||||
// desc:施工项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// constructionProjectDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type constructionProjectDao struct {
|
||||
*internal.ConstructionProjectDao
|
||||
}
|
||||
|
||||
var (
|
||||
// ConstructionProject is globally public accessible object for table tools_gen_table operations.
|
||||
ConstructionProject = constructionProjectDao{
|
||||
internal.NewConstructionProjectDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/device.go
Normal file
29
internal/app/system/dao/device.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-11-24 09:57:07
|
||||
// 生成路径: internal/app/system/dao/device.go
|
||||
// 生成人:gfast
|
||||
// desc:安全帽设备(java)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// deviceDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type deviceDao struct {
|
||||
*internal.DeviceDao
|
||||
}
|
||||
|
||||
var (
|
||||
// Device is globally public accessible object for table tools_gen_table operations.
|
||||
Device = deviceDao{
|
||||
internal.NewDeviceDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/device_preset.go
Normal file
29
internal/app/system/dao/device_preset.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-01 12:50:08
|
||||
// 生成路径: internal/app/system/dao/device_preset.go
|
||||
// 生成人:gfast
|
||||
// desc:预置位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// devicePresetDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type devicePresetDao struct {
|
||||
*internal.DevicePresetDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DevicePreset is globally public accessible object for table tools_gen_table operations.
|
||||
DevicePreset = devicePresetDao{
|
||||
internal.NewDevicePresetDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document.go
Normal file
29
internal/app/system/dao/document.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-16 10:32:04
|
||||
// 生成路径: internal/app/system/dao/document.go
|
||||
// 生成人:gfast
|
||||
// desc:母板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentDao struct {
|
||||
*internal.DocumentDao
|
||||
}
|
||||
|
||||
var (
|
||||
// Document is globally public accessible object for table tools_gen_table operations.
|
||||
Document = documentDao{
|
||||
internal.NewDocumentDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document_completion.go
Normal file
29
internal/app/system/dao/document_completion.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-15 10:25:00
|
||||
// 生成路径: internal/app/system/dao/document_completion.go
|
||||
// 生成人:gfast
|
||||
// desc:竣工图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentCompletionDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentCompletionDao struct {
|
||||
*internal.DocumentCompletionDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DocumentCompletion is globally public accessible object for table tools_gen_table operations.
|
||||
DocumentCompletion = documentCompletionDao{
|
||||
internal.NewDocumentCompletionDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document_data.go
Normal file
29
internal/app/system/dao/document_data.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-12-27 09:30:03
|
||||
// 生成路径: internal/app/system/dao/document_data.go
|
||||
// 生成人:gfast
|
||||
// desc:工程资料>资料
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentDataDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentDataDao struct {
|
||||
*internal.DocumentDataDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DocumentData is globally public accessible object for table tools_gen_table operations.
|
||||
DocumentData = documentDataDao{
|
||||
internal.NewDocumentDataDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document_production_drawing.go
Normal file
29
internal/app/system/dao/document_production_drawing.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-15 10:24:54
|
||||
// 生成路径: internal/app/system/dao/document_production_drawing.go
|
||||
// 生成人:gfast
|
||||
// desc:施工图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentProductionDrawingDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentProductionDrawingDao struct {
|
||||
*internal.DocumentProductionDrawingDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DocumentProductionDrawing is globally public accessible object for table tools_gen_table operations.
|
||||
DocumentProductionDrawing = documentProductionDrawingDao{
|
||||
internal.NewDocumentProductionDrawingDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document_project.go
Normal file
29
internal/app/system/dao/document_project.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2023-09-16 10:32:03
|
||||
// 生成路径: internal/app/system/dao/document_project.go
|
||||
// 生成人:gfast
|
||||
// desc:项目模板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentProjectDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentProjectDao struct {
|
||||
*internal.DocumentProjectDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DocumentProject is globally public accessible object for table tools_gen_table operations.
|
||||
DocumentProject = documentProjectDao{
|
||||
internal.NewDocumentProjectDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document_quality_meeting.go
Normal file
29
internal/app/system/dao/document_quality_meeting.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-25 16:43:56
|
||||
// 生成路径: internal/app/system/dao/document_quality_meeting.go
|
||||
// 生成人:gfast
|
||||
// desc:质量会议
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentQualityMeetingDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentQualityMeetingDao struct {
|
||||
*internal.DocumentQualityMeetingDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DocumentQualityMeeting is globally public accessible object for table tools_gen_table operations.
|
||||
DocumentQualityMeeting = documentQualityMeetingDao{
|
||||
internal.NewDocumentQualityMeetingDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document_report.go
Normal file
29
internal/app/system/dao/document_report.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-03-15 10:24:21
|
||||
// 生成路径: internal/app/system/dao/document_report.go
|
||||
// 生成人:gfast
|
||||
// desc:科研及专题报告
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentReportDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentReportDao struct {
|
||||
*internal.DocumentReportDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DocumentReport is globally public accessible object for table tools_gen_table operations.
|
||||
DocumentReport = documentReportDao{
|
||||
internal.NewDocumentReportDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
29
internal/app/system/dao/document_safety_meeting.go
Normal file
29
internal/app/system/dao/document_safety_meeting.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao操作代码。
|
||||
// 生成日期:2024-04-09 11:40:20
|
||||
// 生成路径: internal/app/system/dao/document_safety_meeting.go
|
||||
// 生成人:gfast
|
||||
// desc:安全会议
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// documentSafetyMeetingDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type documentSafetyMeetingDao struct {
|
||||
*internal.DocumentSafetyMeetingDao
|
||||
}
|
||||
|
||||
var (
|
||||
// DocumentSafetyMeeting is globally public accessible object for table tools_gen_table operations.
|
||||
DocumentSafetyMeeting = documentSafetyMeetingDao{
|
||||
internal.NewDocumentSafetyMeetingDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
27
internal/app/system/dao/equipment.go
Normal file
27
internal/app/system/dao/equipment.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// This is auto-generated by GoFrame CLI tool only once. Fill this file as you wish.
|
||||
// =================================================================================
|
||||
|
||||
package dao
|
||||
|
||||
import (
|
||||
"github.com/tiger1103/gfast/v3/internal/app/system/dao/internal"
|
||||
)
|
||||
|
||||
// internalEquipmentDao is internal type for wrapping internal DAO implements.
|
||||
type internalEquipmentDao = *internal.EquipmentDao
|
||||
|
||||
// equipmentDao is the data access object for table equipment.
|
||||
// You can define custom methods on it to extend its functionality as you wish.
|
||||
type equipmentDao struct {
|
||||
internalEquipmentDao
|
||||
}
|
||||
|
||||
var (
|
||||
// Equipment is globally public accessible object for table equipment operations.
|
||||
Equipment = equipmentDao{
|
||||
internal.NewEquipmentDao(),
|
||||
}
|
||||
)
|
||||
|
||||
// Fill with you ideas below.
|
||||
37
internal/app/system/dao/extend_dao.go
Normal file
37
internal/app/system/dao/extend_dao.go
Normal file
@ -0,0 +1,37 @@
|
||||
package dao
|
||||
|
||||
import (
|
||||
"reflect"
|
||||
)
|
||||
|
||||
// 解决多表排除字段不能用的情况
|
||||
// 例:FieldsEx(internal.SysUser,"a","ex_col1","ex_col2")
|
||||
func FieldsEx(obj interface{}, preFix string, exFields ...string) []string {
|
||||
v := reflect.ValueOf(obj)
|
||||
columnsMethod := v.MethodByName("Columns")
|
||||
if !columnsMethod.IsValid() {
|
||||
return []string{}
|
||||
}
|
||||
result := columnsMethod.Call([]reflect.Value{})
|
||||
|
||||
var fields []string
|
||||
for i := 0; i < result[0].NumField(); i++ {
|
||||
f := result[0].Field(i)
|
||||
if f.Kind() == reflect.String {
|
||||
|
||||
if !isInArray(f.String(), exFields) {
|
||||
fields = append(fields, preFix+"."+f.String())
|
||||
}
|
||||
}
|
||||
}
|
||||
return fields
|
||||
}
|
||||
|
||||
func isInArray(str string, arr []string) bool {
|
||||
for _, v := range arr {
|
||||
if v == str {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
77
internal/app/system/dao/internal/app_menus.go
Normal file
77
internal/app/system/dao/internal/app_menus.go
Normal file
@ -0,0 +1,77 @@
|
||||
// ==========================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// AppMenusDao is the data access object for table app_menus.
|
||||
type AppMenusDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns AppMenusColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// AppMenusColumns defines and stores column names for table app_menus.
|
||||
type AppMenusColumns struct {
|
||||
MenuId string //
|
||||
MenuName string // 菜单名
|
||||
CreatedAt string //
|
||||
}
|
||||
|
||||
// appMenusColumns holds the columns for table app_menus.
|
||||
var appMenusColumns = AppMenusColumns{
|
||||
MenuId: "menu_id",
|
||||
MenuName: "menu_name",
|
||||
CreatedAt: "created_at",
|
||||
}
|
||||
|
||||
// NewAppMenusDao creates and returns a new DAO object for table data access.
|
||||
func NewAppMenusDao() *AppMenusDao {
|
||||
return &AppMenusDao{
|
||||
group: "default",
|
||||
table: "app_menus",
|
||||
columns: appMenusColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *AppMenusDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *AppMenusDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *AppMenusDao) Columns() AppMenusColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *AppMenusDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *AppMenusDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *AppMenusDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
82
internal/app/system/dao/internal/app_role_menus.go
Normal file
82
internal/app/system/dao/internal/app_role_menus.go
Normal file
@ -0,0 +1,82 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2024-05-28 15:11:14
|
||||
// 生成路径: internal/app/system/dao/internal/app_role_menus.go
|
||||
// 生成人:gfast
|
||||
// desc:app角色绑定菜单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// AppRoleMenusDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type AppRoleMenusDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns AppRoleMenusColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// AppRoleMenusColumns defines and stores column names for table app_role_menus.
|
||||
type AppRoleMenusColumns struct {
|
||||
Id string //
|
||||
RoleId string // 角色ID
|
||||
MenuId string // 菜单ID
|
||||
CreatedAt string //
|
||||
}
|
||||
|
||||
var appRoleMenusColumns = AppRoleMenusColumns{
|
||||
Id: "id",
|
||||
RoleId: "role_id",
|
||||
MenuId: "menu_id",
|
||||
CreatedAt: "created_at",
|
||||
}
|
||||
|
||||
// NewAppRoleMenusDao creates and returns a new DAO object for table data access.
|
||||
func NewAppRoleMenusDao() *AppRoleMenusDao {
|
||||
return &AppRoleMenusDao{
|
||||
group: "default",
|
||||
table: "app_role_menus",
|
||||
columns: appRoleMenusColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *AppRoleMenusDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *AppRoleMenusDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *AppRoleMenusDao) Columns() AppRoleMenusColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *AppRoleMenusDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *AppRoleMenusDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *AppRoleMenusDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
79
internal/app/system/dao/internal/app_roles.go
Normal file
79
internal/app/system/dao/internal/app_roles.go
Normal file
@ -0,0 +1,79 @@
|
||||
// ==========================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// AppRolesDao is the data access object for table app_roles.
|
||||
type AppRolesDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns AppRolesColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// AppRolesColumns defines and stores column names for table app_roles.
|
||||
type AppRolesColumns struct {
|
||||
RoleId string //
|
||||
RoleName string // 角色名
|
||||
CreatedAt string //
|
||||
Tag string // 0 管理员 | 1 施工人员
|
||||
}
|
||||
|
||||
// appRolesColumns holds the columns for table app_roles.
|
||||
var appRolesColumns = AppRolesColumns{
|
||||
RoleId: "role_id",
|
||||
RoleName: "role_name",
|
||||
CreatedAt: "created_at",
|
||||
Tag: "tag",
|
||||
}
|
||||
|
||||
// NewAppRolesDao creates and returns a new DAO object for table data access.
|
||||
func NewAppRolesDao() *AppRolesDao {
|
||||
return &AppRolesDao{
|
||||
group: "default",
|
||||
table: "app_roles",
|
||||
columns: appRolesColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *AppRolesDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *AppRolesDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *AppRolesDao) Columns() AppRolesColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *AppRolesDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *AppRolesDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *AppRolesDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
79
internal/app/system/dao/internal/app_user_disable_menus.go
Normal file
79
internal/app/system/dao/internal/app_user_disable_menus.go
Normal file
@ -0,0 +1,79 @@
|
||||
// ==========================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// AppUserDisableMenusDao is the data access object for table app_user_disable_menus.
|
||||
type AppUserDisableMenusDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns AppUserDisableMenusColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// AppUserDisableMenusColumns defines and stores column names for table app_user_disable_menus.
|
||||
type AppUserDisableMenusColumns struct {
|
||||
UserDisabledMenuId string //
|
||||
UserId string // 用户ID
|
||||
MenuId string // 菜单ID
|
||||
CreatedAt string //
|
||||
}
|
||||
|
||||
// appUserDisableMenusColumns holds the columns for table app_user_disable_menus.
|
||||
var appUserDisableMenusColumns = AppUserDisableMenusColumns{
|
||||
UserDisabledMenuId: "user_disabled_menu_id",
|
||||
UserId: "user_id",
|
||||
MenuId: "menu_id",
|
||||
CreatedAt: "created_at",
|
||||
}
|
||||
|
||||
// NewAppUserDisableMenusDao creates and returns a new DAO object for table data access.
|
||||
func NewAppUserDisableMenusDao() *AppUserDisableMenusDao {
|
||||
return &AppUserDisableMenusDao{
|
||||
group: "default",
|
||||
table: "app_user_disable_menus",
|
||||
columns: appUserDisableMenusColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *AppUserDisableMenusDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *AppUserDisableMenusDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *AppUserDisableMenusDao) Columns() AppUserDisableMenusColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *AppUserDisableMenusDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *AppUserDisableMenusDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *AppUserDisableMenusDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
79
internal/app/system/dao/internal/app_user_menus.go
Normal file
79
internal/app/system/dao/internal/app_user_menus.go
Normal file
@ -0,0 +1,79 @@
|
||||
// ==========================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// AppUserMenusDao is the data access object for table app_user_menus.
|
||||
type AppUserMenusDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns AppUserMenusColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// AppUserMenusColumns defines and stores column names for table app_user_menus.
|
||||
type AppUserMenusColumns struct {
|
||||
UserMenuId string //
|
||||
UserId string // 用户ID
|
||||
MenuId string // 菜单ID
|
||||
CreatedAt string //
|
||||
}
|
||||
|
||||
// appUserMenusColumns holds the columns for table app_user_menus.
|
||||
var appUserMenusColumns = AppUserMenusColumns{
|
||||
UserMenuId: "user_menu_id",
|
||||
UserId: "user_id",
|
||||
MenuId: "menu_id",
|
||||
CreatedAt: "created_at",
|
||||
}
|
||||
|
||||
// NewAppUserMenusDao creates and returns a new DAO object for table data access.
|
||||
func NewAppUserMenusDao() *AppUserMenusDao {
|
||||
return &AppUserMenusDao{
|
||||
group: "default",
|
||||
table: "app_user_menus",
|
||||
columns: appUserMenusColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *AppUserMenusDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *AppUserMenusDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *AppUserMenusDao) Columns() AppUserMenusColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *AppUserMenusDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *AppUserMenusDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *AppUserMenusDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
81
internal/app/system/dao/internal/app_user_roles.go
Normal file
81
internal/app/system/dao/internal/app_user_roles.go
Normal file
@ -0,0 +1,81 @@
|
||||
// ==========================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// AppUserRolesDao is the data access object for table app_user_roles.
|
||||
type AppUserRolesDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns AppUserRolesColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// AppUserRolesColumns defines and stores column names for table app_user_roles.
|
||||
type AppUserRolesColumns struct {
|
||||
Id string //
|
||||
UserId string // 用户ID
|
||||
RoleId string // 关联的角色ID
|
||||
CreatedAt string //
|
||||
MajorRole string // 0 后台管理人员 | 1 施工人员
|
||||
}
|
||||
|
||||
// appUserRolesColumns holds the columns for table app_user_roles.
|
||||
var appUserRolesColumns = AppUserRolesColumns{
|
||||
Id: "id",
|
||||
UserId: "user_id",
|
||||
RoleId: "role_id",
|
||||
CreatedAt: "created_at",
|
||||
MajorRole: "major_role",
|
||||
}
|
||||
|
||||
// NewAppUserRolesDao creates and returns a new DAO object for table data access.
|
||||
func NewAppUserRolesDao() *AppUserRolesDao {
|
||||
return &AppUserRolesDao{
|
||||
group: "default",
|
||||
table: "app_user_roles",
|
||||
columns: appUserRolesColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *AppUserRolesDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *AppUserRolesDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *AppUserRolesDao) Columns() AppUserRolesColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *AppUserRolesDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *AppUserRolesDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *AppUserRolesDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
81
internal/app/system/dao/internal/app_versions.go
Normal file
81
internal/app/system/dao/internal/app_versions.go
Normal file
@ -0,0 +1,81 @@
|
||||
// ==========================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// AppVersionsDao is the data access object for table app_versions.
|
||||
type AppVersionsDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns AppVersionsColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// AppVersionsColumns defines and stores column names for table app_versions.
|
||||
type AppVersionsColumns struct {
|
||||
Id string //
|
||||
Version string // 版本号
|
||||
FilePath string // 版本文件的路径
|
||||
CreatedAt string //
|
||||
Platform string // 0 安卓 | 1 IOS
|
||||
}
|
||||
|
||||
// appVersionsColumns holds the columns for table app_versions.
|
||||
var appVersionsColumns = AppVersionsColumns{
|
||||
Id: "id",
|
||||
Version: "version",
|
||||
FilePath: "file_path",
|
||||
CreatedAt: "created_at",
|
||||
Platform: "platform",
|
||||
}
|
||||
|
||||
// NewAppVersionsDao creates and returns a new DAO object for table data access.
|
||||
func NewAppVersionsDao() *AppVersionsDao {
|
||||
return &AppVersionsDao{
|
||||
group: "default",
|
||||
table: "app_versions",
|
||||
columns: appVersionsColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *AppVersionsDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *AppVersionsDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *AppVersionsDao) Columns() AppVersionsColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *AppVersionsDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *AppVersionsDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *AppVersionsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
98
internal/app/system/dao/internal/big_file.go
Normal file
98
internal/app/system/dao/internal/big_file.go
Normal file
@ -0,0 +1,98 @@
|
||||
// ==========================================================================
|
||||
// Code generated 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"
|
||||
)
|
||||
|
||||
// BigFileDao is the data access object for table big_file.
|
||||
type BigFileDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns BigFileColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BigFileColumns defines and stores column names for table big_file.
|
||||
type BigFileColumns struct {
|
||||
Id string //
|
||||
Name string // 文件名称
|
||||
Size string // 文件大小
|
||||
Path string // 文件相对路径
|
||||
FullPath string // 文件绝对路径
|
||||
MimeType string // 文件类型
|
||||
Source string // 文件来源 0 - 本地,1 - 腾讯云 2 - 七牛云
|
||||
Describe string // 描述
|
||||
Md5 string // md5
|
||||
CreatedBy string //
|
||||
UpdatedBy string //
|
||||
CreatedAt string //
|
||||
UpdatedAt string //
|
||||
DeletedAt string //
|
||||
}
|
||||
|
||||
// bigFileColumns holds the columns for table big_file.
|
||||
var bigFileColumns = BigFileColumns{
|
||||
Id: "id",
|
||||
Name: "name",
|
||||
Size: "size",
|
||||
Path: "path",
|
||||
FullPath: "full_path",
|
||||
MimeType: "mime_type",
|
||||
Source: "source",
|
||||
Describe: "describe",
|
||||
Md5: "md5",
|
||||
CreatedBy: "created_by",
|
||||
UpdatedBy: "updated_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
}
|
||||
|
||||
// NewBigFileDao creates and returns a new DAO object for table data access.
|
||||
func NewBigFileDao() *BigFileDao {
|
||||
return &BigFileDao{
|
||||
group: "default",
|
||||
table: "big_file",
|
||||
columns: bigFileColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BigFileDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BigFileDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BigFileDao) Columns() BigFileColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BigFileDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BigFileDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BigFileDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
88
internal/app/system/dao/internal/bus_attendance_machine.go
Normal file
88
internal/app/system/dao/internal/bus_attendance_machine.go
Normal file
@ -0,0 +1,88 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2025-03-03 10:32:47
|
||||
// 生成路径: internal/app/system/dao/internal/bus_attendance_machine.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusAttendanceMachineDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusAttendanceMachineDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusAttendanceMachineColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusAttendanceMachineColumns defines and stores column names for table bus_attendance_machine.
|
||||
type BusAttendanceMachineColumns struct {
|
||||
Id string // 主键ID
|
||||
ProjectId string // 项目ID
|
||||
Sn string // 设备sn
|
||||
Teams string // 班组id,多个逗号分隔
|
||||
CreateBy string // 创建人
|
||||
CreatedAt string // 创建时间
|
||||
Remark string // 备注
|
||||
}
|
||||
|
||||
var busAttendanceMachineColumns = BusAttendanceMachineColumns{
|
||||
Id: "id",
|
||||
ProjectId: "project_id",
|
||||
Sn: "sn",
|
||||
Teams: "teams",
|
||||
CreateBy: "create_by",
|
||||
CreatedAt: "created_at",
|
||||
Remark: "remark",
|
||||
}
|
||||
|
||||
// NewBusAttendanceMachineDao creates and returns a new DAO object for table data access.
|
||||
func NewBusAttendanceMachineDao() *BusAttendanceMachineDao {
|
||||
return &BusAttendanceMachineDao{
|
||||
group: "default",
|
||||
table: "bus_attendance_machine",
|
||||
columns: busAttendanceMachineColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusAttendanceMachineDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusAttendanceMachineDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusAttendanceMachineDao) Columns() BusAttendanceMachineColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusAttendanceMachineDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusAttendanceMachineDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusAttendanceMachineDao) 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,84 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2025-03-03 10:33:17
|
||||
// 生成路径: internal/app/system/dao/internal/bus_attendance_machine_user.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机用户列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusAttendanceMachineUserDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusAttendanceMachineUserDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusAttendanceMachineUserColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusAttendanceMachineUserColumns defines and stores column names for table bus_attendance_machine_user.
|
||||
type BusAttendanceMachineUserColumns struct {
|
||||
Id string // 主键ID
|
||||
MachineId string // 考勤机主键ID
|
||||
TeamId string // 班组ID
|
||||
UserId string // 用户ID
|
||||
Identifying string // 标识(是否下发)
|
||||
}
|
||||
|
||||
var busAttendanceMachineUserColumns = BusAttendanceMachineUserColumns{
|
||||
Id: "id",
|
||||
MachineId: "machine_id",
|
||||
TeamId: "team_id",
|
||||
UserId: "user_id",
|
||||
Identifying: "identifying",
|
||||
}
|
||||
|
||||
// NewBusAttendanceMachineUserDao creates and returns a new DAO object for table data access.
|
||||
func NewBusAttendanceMachineUserDao() *BusAttendanceMachineUserDao {
|
||||
return &BusAttendanceMachineUserDao{
|
||||
group: "default",
|
||||
table: "bus_attendance_machine_user",
|
||||
columns: busAttendanceMachineUserColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusAttendanceMachineUserDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusAttendanceMachineUserDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusAttendanceMachineUserDao) Columns() BusAttendanceMachineUserColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusAttendanceMachineUserDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusAttendanceMachineUserDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusAttendanceMachineUserDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
108
internal/app/system/dao/internal/bus_camera_channel.go
Normal file
108
internal/app/system/dao/internal/bus_camera_channel.go
Normal file
@ -0,0 +1,108 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-09-20 14:55:42
|
||||
// 生成路径: internal/app/system/dao/internal/bus_camera_channel.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标通道)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusCameraChannelDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusCameraChannelDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusCameraChannelColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusCameraChannelColumns defines and stores column names for table bus_camera_channel.
|
||||
type BusCameraChannelColumns struct {
|
||||
Id string // 序号
|
||||
CountryId string // 摄像头ID
|
||||
ProjectId string // 项目id
|
||||
ChannelNumber string // 国标通道号
|
||||
ChannelName string // 通道名称
|
||||
ChannelPath string // 视频路径
|
||||
ChannelPathWs string // 视频路径
|
||||
ChannelPathRtc string // 视频路径
|
||||
ChannelPathHls string // 视频路径
|
||||
ChannelFormat string // 视频格式(字典)
|
||||
ChannelState string // 在线状态(字典)
|
||||
Remark string // 备注
|
||||
CreateBy string // 创建者
|
||||
UpdateBy string // 更新者
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 删除时间
|
||||
}
|
||||
|
||||
var busCameraChannelColumns = BusCameraChannelColumns{
|
||||
Id: "id",
|
||||
CountryId: "country_id",
|
||||
ProjectId: "project_id",
|
||||
ChannelNumber: "channel_number",
|
||||
ChannelName: "channel_name",
|
||||
ChannelPath: "channel_path",
|
||||
ChannelPathWs: "channel_path_ws",
|
||||
ChannelPathRtc: "channel_path_rtc",
|
||||
ChannelPathHls: "channel_path_hls",
|
||||
ChannelFormat: "channel_format",
|
||||
ChannelState: "channel_state",
|
||||
Remark: "remark",
|
||||
CreateBy: "create_by",
|
||||
UpdateBy: "update_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
}
|
||||
|
||||
// NewBusCameraChannelDao creates and returns a new DAO object for table data access.
|
||||
func NewBusCameraChannelDao() *BusCameraChannelDao {
|
||||
return &BusCameraChannelDao{
|
||||
group: "default",
|
||||
table: "bus_camera_channel",
|
||||
columns: busCameraChannelColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusCameraChannelDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusCameraChannelDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusCameraChannelDao) Columns() BusCameraChannelColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusCameraChannelDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusCameraChannelDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusCameraChannelDao) 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,96 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-09-20 14:55:24
|
||||
// 生成路径: internal/app/system/dao/internal/bus_camera_chinese_standard.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusCameraChineseStandardDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusCameraChineseStandardDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusCameraChineseStandardColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusCameraChineseStandardColumns defines and stores column names for table bus_camera_chinese_standard.
|
||||
type BusCameraChineseStandardColumns struct {
|
||||
Id string // 序号
|
||||
CountryNumber string // 国标号
|
||||
CountryName string // 摄像头名称
|
||||
CountryState string // 在线状态(字典)
|
||||
Remark string // 备注
|
||||
CreateBy string // 创建者
|
||||
UpdateBy string // 更新者
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 删除时间
|
||||
ProjectId string // 项目id
|
||||
}
|
||||
|
||||
var busCameraChineseStandardColumns = BusCameraChineseStandardColumns{
|
||||
Id: "id",
|
||||
CountryNumber: "country_number",
|
||||
ProjectId: "project_id",
|
||||
CountryName: "country_name",
|
||||
CountryState: "country_state",
|
||||
Remark: "remark",
|
||||
CreateBy: "create_by",
|
||||
UpdateBy: "update_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
}
|
||||
|
||||
// NewBusCameraChineseStandardDao creates and returns a new DAO object for table data access.
|
||||
func NewBusCameraChineseStandardDao() *BusCameraChineseStandardDao {
|
||||
return &BusCameraChineseStandardDao{
|
||||
group: "default",
|
||||
table: "bus_camera_chinese_standard",
|
||||
columns: busCameraChineseStandardColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusCameraChineseStandardDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusCameraChineseStandardDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusCameraChineseStandardDao) Columns() BusCameraChineseStandardColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusCameraChineseStandardDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusCameraChineseStandardDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusCameraChineseStandardDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
78
internal/app/system/dao/internal/bus_category.go
Normal file
78
internal/app/system/dao/internal/bus_category.go
Normal file
@ -0,0 +1,78 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-10-07 15:52:19
|
||||
// 生成路径: internal/app/system/dao/internal/bus_category.go
|
||||
// 生成人:gfast
|
||||
// desc:题库_题库类别
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusCategoryDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusCategoryDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusCategoryColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusCategoryColumns defines and stores column names for table bus_category.
|
||||
type BusCategoryColumns struct {
|
||||
Id string // 序号
|
||||
CategoryName string // 题库类别
|
||||
}
|
||||
|
||||
var busCategoryColumns = BusCategoryColumns{
|
||||
Id: "id",
|
||||
CategoryName: "category_name",
|
||||
}
|
||||
|
||||
// NewBusCategoryDao creates and returns a new DAO object for table data access.
|
||||
func NewBusCategoryDao() *BusCategoryDao {
|
||||
return &BusCategoryDao{
|
||||
group: "default",
|
||||
table: "bus_category",
|
||||
columns: busCategoryColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusCategoryDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusCategoryDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusCategoryDao) Columns() BusCategoryColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusCategoryDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusCategoryDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusCategoryDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
92
internal/app/system/dao/internal/bus_company.go
Normal file
92
internal/app/system/dao/internal/bus_company.go
Normal file
@ -0,0 +1,92 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-07-28 14:08:14
|
||||
// 生成路径: internal/app/system/dao/internal/bus_company.go
|
||||
// 生成人:gfast
|
||||
// desc:公司
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusCompanyDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusCompanyDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusCompanyColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusCompanyColumns defines and stores column names for table bus_company.
|
||||
type BusCompanyColumns struct {
|
||||
CompanyId string // 序号
|
||||
CompanyName string // 公司名称
|
||||
ProjectId string // 项目id
|
||||
Status string // 帐号状态
|
||||
CreateBy string // 创建者
|
||||
UpdateBy string // 更新者
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 删除时间
|
||||
}
|
||||
|
||||
var busCompanyColumns = BusCompanyColumns{
|
||||
CompanyId: "company_id",
|
||||
CompanyName: "company_name",
|
||||
ProjectId: "project_id",
|
||||
Status: "status",
|
||||
CreateBy: "create_by",
|
||||
UpdateBy: "update_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
}
|
||||
|
||||
// NewBusCompanyDao creates and returns a new DAO object for table data access.
|
||||
func NewBusCompanyDao() *BusCompanyDao {
|
||||
return &BusCompanyDao{
|
||||
group: "default",
|
||||
table: "bus_company",
|
||||
columns: busCompanyColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusCompanyDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusCompanyDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusCompanyDao) Columns() BusCompanyColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusCompanyDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusCompanyDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusCompanyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
92
internal/app/system/dao/internal/bus_complaint_box.go
Normal file
92
internal/app/system/dao/internal/bus_complaint_box.go
Normal file
@ -0,0 +1,92 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-12-04 18:09:50
|
||||
// 生成路径: internal/app/system/dao/internal/bus_complaint_box.go
|
||||
// 生成人:gfast
|
||||
// desc:意见箱
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusComplaintBoxDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusComplaintBoxDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusComplaintBoxColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusComplaintBoxColumns defines and stores column names for table bus_complaint_box.
|
||||
type BusComplaintBoxColumns struct {
|
||||
Id string // 主键ID
|
||||
ProjectId string // 项目id
|
||||
Openid string // openid
|
||||
Opinion string // 意见
|
||||
Status string // 状态(0未读,1已读)
|
||||
Dispose string // 处理时间
|
||||
Remark string // 备注
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
}
|
||||
|
||||
var busComplaintBoxColumns = BusComplaintBoxColumns{
|
||||
Id: "id",
|
||||
ProjectId: "project_id",
|
||||
Openid: "openid",
|
||||
Opinion: "opinion",
|
||||
Status: "status",
|
||||
Dispose: "dispose",
|
||||
Remark: "remark",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
}
|
||||
|
||||
// NewBusComplaintBoxDao creates and returns a new DAO object for table data access.
|
||||
func NewBusComplaintBoxDao() *BusComplaintBoxDao {
|
||||
return &BusComplaintBoxDao{
|
||||
group: "default",
|
||||
table: "bus_complaint_box",
|
||||
columns: busComplaintBoxColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusComplaintBoxDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusComplaintBoxDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusComplaintBoxDao) Columns() BusComplaintBoxColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusComplaintBoxDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusComplaintBoxDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusComplaintBoxDao) 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,84 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-11-10 14:08:39
|
||||
// 生成路径: internal/app/system/dao/internal/bus_construction_blacklist.go
|
||||
// 生成人:gfast
|
||||
// desc:黑名单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusConstructionBlacklistDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusConstructionBlacklistDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusConstructionBlacklistColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusConstructionBlacklistColumns defines and stores column names for table bus_construction_blacklist.
|
||||
type BusConstructionBlacklistColumns struct {
|
||||
Openid string // openid
|
||||
Name string // 名字
|
||||
SfzNumber string // 身份证号码
|
||||
Remark string // 备注
|
||||
CreatedAt string // 创建时间
|
||||
}
|
||||
|
||||
var busConstructionBlacklistColumns = BusConstructionBlacklistColumns{
|
||||
Openid: "openid",
|
||||
Name: "name",
|
||||
SfzNumber: "sfz_number",
|
||||
Remark: "remark",
|
||||
CreatedAt: "created_at",
|
||||
}
|
||||
|
||||
// NewBusConstructionBlacklistDao creates and returns a new DAO object for table data access.
|
||||
func NewBusConstructionBlacklistDao() *BusConstructionBlacklistDao {
|
||||
return &BusConstructionBlacklistDao{
|
||||
group: "default",
|
||||
table: "bus_construction_blacklist",
|
||||
columns: busConstructionBlacklistColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusConstructionBlacklistDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusConstructionBlacklistDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusConstructionBlacklistDao) Columns() BusConstructionBlacklistColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusConstructionBlacklistDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusConstructionBlacklistDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusConstructionBlacklistDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
98
internal/app/system/dao/internal/bus_construction_log.go
Normal file
98
internal/app/system/dao/internal/bus_construction_log.go
Normal file
@ -0,0 +1,98 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2024-03-22 16:27:43
|
||||
// 生成路径: internal/app/system/dao/internal/bus_construction_log.go
|
||||
// 生成人:gfast
|
||||
// desc:施工日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusConstructionLogDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusConstructionLogDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusConstructionLogColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusConstructionLogColumns defines and stores column names for table bus_construction_log.
|
||||
type BusConstructionLogColumns struct {
|
||||
Id string // 主键ID
|
||||
ProjectId string // 项目ID
|
||||
DateOfOccurrence string // 发生日期
|
||||
Condition string // 生产情况
|
||||
TechnologyQuality string // 技术质量安全工作
|
||||
Remark string // 备注
|
||||
Path string // 附件(多个逗号分割)
|
||||
CreatedBy string // 创建人
|
||||
UpdatedBy string // 更新人
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 删除时间
|
||||
}
|
||||
|
||||
var busConstructionLogColumns = BusConstructionLogColumns{
|
||||
Id: "id",
|
||||
ProjectId: "project_id",
|
||||
DateOfOccurrence: "date_of_occurrence",
|
||||
Condition: "condition",
|
||||
TechnologyQuality: "technology_quality",
|
||||
Remark: "remark",
|
||||
Path: "path",
|
||||
CreatedBy: "created_by",
|
||||
UpdatedBy: "updated_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
}
|
||||
|
||||
// NewBusConstructionLogDao creates and returns a new DAO object for table data access.
|
||||
func NewBusConstructionLogDao() *BusConstructionLogDao {
|
||||
return &BusConstructionLogDao{
|
||||
group: "default",
|
||||
table: "bus_construction_log",
|
||||
columns: busConstructionLogColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusConstructionLogDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusConstructionLogDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusConstructionLogDao) Columns() BusConstructionLogColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusConstructionLogDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusConstructionLogDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusConstructionLogDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
80
internal/app/system/dao/internal/bus_construction_project.go
Normal file
80
internal/app/system/dao/internal/bus_construction_project.go
Normal file
@ -0,0 +1,80 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-08-07 10:17:50
|
||||
// 生成路径: internal/app/system/dao/internal/bus_construction_project.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员对应项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusConstructionProjectDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusConstructionProjectDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusConstructionProjectColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusConstructionProjectColumns defines and stores column names for table bus_construction_project.
|
||||
type BusConstructionProjectColumns struct {
|
||||
Id string // 序号
|
||||
ConstructionUserId string // 微信用户id
|
||||
ProjectId string // 项目id
|
||||
}
|
||||
|
||||
var busConstructionProjectColumns = BusConstructionProjectColumns{
|
||||
Id: "id",
|
||||
ConstructionUserId: "construction_user_id",
|
||||
ProjectId: "project_id",
|
||||
}
|
||||
|
||||
// NewBusConstructionProjectDao creates and returns a new DAO object for table data access.
|
||||
func NewBusConstructionProjectDao() *BusConstructionProjectDao {
|
||||
return &BusConstructionProjectDao{
|
||||
group: "default",
|
||||
table: "bus_construction_project",
|
||||
columns: busConstructionProjectColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusConstructionProjectDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusConstructionProjectDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusConstructionProjectDao) Columns() BusConstructionProjectColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusConstructionProjectDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusConstructionProjectDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusConstructionProjectDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
147
internal/app/system/dao/internal/bus_construction_user.go
Normal file
147
internal/app/system/dao/internal/bus_construction_user.go
Normal file
@ -0,0 +1,147 @@
|
||||
// ==========================================================================
|
||||
// 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"
|
||||
)
|
||||
|
||||
// BusConstructionUserDao is the data access object for table bus_construction_user.
|
||||
type BusConstructionUserDao struct {
|
||||
table string // table is the underlying table name of the DAO.
|
||||
group string // group is the database configuration group name of current DAO.
|
||||
columns BusConstructionUserColumns // columns contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusConstructionUserColumns defines and stores column names for table bus_construction_user.
|
||||
type BusConstructionUserColumns struct {
|
||||
Id string //
|
||||
Openid string // 微信id
|
||||
NickName string // 微信名称
|
||||
TeamId string // 班组id
|
||||
HeadIcon string // 登陆照片
|
||||
PacePhoto string // 人脸照
|
||||
UserName string // 人员姓名
|
||||
ProjectId string // 项目id
|
||||
Status string // 状态(0在职 1离职)-字典position_status
|
||||
IsPinch string // 是否代打
|
||||
IfManagement string // 是否班组管理
|
||||
CreateBy string // 创建者
|
||||
UpdateBy string // 更新者
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 删除时间
|
||||
Phone string // 电话
|
||||
Sex string // 1:男,2女,3保密
|
||||
SfzNation string // 身份证民族
|
||||
SfzNumber string // 身份证号码
|
||||
SfzStart string // 身份证有效开始期
|
||||
SfzEnd string // 身份证有效结束期
|
||||
SfzSite string // 身份证地址
|
||||
SfzBirth string // 身份证出生日期
|
||||
NativePlace string // 籍贯
|
||||
YhkNumber string // 银行卡号
|
||||
YhkOpeningBank string // 开户行
|
||||
YhkCardholder string // 持卡人
|
||||
TypeOfWork string // 工种(字典)
|
||||
Clock string // 打卡(1启用打卡 2禁止打卡)
|
||||
LabourserviceId string // 劳务公司id
|
||||
EntryDate string // 入场时间
|
||||
LeaveDate string // 离场时间
|
||||
Salary string // 薪水(此字段为0表示此字段无效)
|
||||
ProjectRecord string // 是否开启项目备案(小程序)1开启 2不开启
|
||||
WxOrPc string // 哪添加的(1表示pc 2表示小程序)
|
||||
Subscription string // 消息订阅状态(1订阅 2无订阅)
|
||||
DevNum string // 安全帽设备标识
|
||||
}
|
||||
|
||||
// busConstructionUserColumns holds the columns for table bus_construction_user.
|
||||
var busConstructionUserColumns = BusConstructionUserColumns{
|
||||
Id: "id",
|
||||
Openid: "openid",
|
||||
NickName: "nick_name",
|
||||
TeamId: "team_id",
|
||||
HeadIcon: "head_icon",
|
||||
PacePhoto: "pace_photo",
|
||||
UserName: "user_name",
|
||||
ProjectId: "project_id",
|
||||
Status: "status",
|
||||
IsPinch: "is_pinch",
|
||||
IfManagement: "if_management",
|
||||
CreateBy: "create_by",
|
||||
UpdateBy: "update_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
Phone: "phone",
|
||||
Sex: "sex",
|
||||
SfzNation: "sfz_nation",
|
||||
SfzNumber: "sfz_number",
|
||||
SfzStart: "sfz_start",
|
||||
SfzEnd: "sfz_end",
|
||||
SfzSite: "sfz_site",
|
||||
SfzBirth: "sfz_birth",
|
||||
NativePlace: "native_place",
|
||||
YhkNumber: "yhk_number",
|
||||
YhkOpeningBank: "yhk_opening_bank",
|
||||
YhkCardholder: "yhk_cardholder",
|
||||
TypeOfWork: "type_of_work",
|
||||
Clock: "clock",
|
||||
LabourserviceId: "labourservice_id",
|
||||
EntryDate: "entry_date",
|
||||
LeaveDate: "leave_date",
|
||||
Salary: "salary",
|
||||
ProjectRecord: "project_record",
|
||||
WxOrPc: "wx_or_pc",
|
||||
Subscription: "subscription",
|
||||
DevNum: "dev_num",
|
||||
}
|
||||
|
||||
// NewBusConstructionUserDao creates and returns a new DAO object for table data access.
|
||||
func NewBusConstructionUserDao() *BusConstructionUserDao {
|
||||
return &BusConstructionUserDao{
|
||||
group: "default",
|
||||
table: "bus_construction_user",
|
||||
columns: busConstructionUserColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusConstructionUserDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusConstructionUserDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusConstructionUserDao) Columns() BusConstructionUserColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusConstructionUserDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusConstructionUserDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusConstructionUserDao) 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,94 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-08-07 10:17:41
|
||||
// 生成路径: internal/app/system/dao/internal/bus_construction_user_file.go
|
||||
// 生成人:gfast
|
||||
// desc:微信用户的文件存储
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusConstructionUserFileDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusConstructionUserFileDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusConstructionUserFileColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusConstructionUserFileColumns defines and stores column names for table bus_construction_user_file.
|
||||
type BusConstructionUserFileColumns struct {
|
||||
Id string // 主键ID
|
||||
UserId string // 用户id
|
||||
UserImgType string // 图片类型
|
||||
Path string // 图片路径
|
||||
CreateBy string // 创建者
|
||||
UpdateBy string // 更新者
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 删除时间
|
||||
Remark string // 备注
|
||||
}
|
||||
|
||||
var busConstructionUserFileColumns = BusConstructionUserFileColumns{
|
||||
Id: "id",
|
||||
UserId: "user_id",
|
||||
UserImgType: "user_img_type",
|
||||
Path: "path",
|
||||
CreateBy: "create_by",
|
||||
UpdateBy: "update_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
Remark: "remark",
|
||||
}
|
||||
|
||||
// NewBusConstructionUserFileDao creates and returns a new DAO object for table data access.
|
||||
func NewBusConstructionUserFileDao() *BusConstructionUserFileDao {
|
||||
return &BusConstructionUserFileDao{
|
||||
group: "default",
|
||||
table: "bus_construction_user_file",
|
||||
columns: busConstructionUserFileColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusConstructionUserFileDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusConstructionUserFileDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusConstructionUserFileDao) Columns() BusConstructionUserFileColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusConstructionUserFileDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusConstructionUserFileDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusConstructionUserFileDao) 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,80 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2023-08-07 10:06:34
|
||||
// 生成路径: internal/app/system/dao/internal/bus_construction_user_post.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员岗位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusConstructionUserPostDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusConstructionUserPostDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusConstructionUserPostColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusConstructionUserPostColumns defines and stores column names for table bus_construction_user_post.
|
||||
type BusConstructionUserPostColumns struct {
|
||||
Id string //
|
||||
ConstructionUserId string // 施工人员id
|
||||
PostId string // 岗位id
|
||||
}
|
||||
|
||||
var busConstructionUserPostColumns = BusConstructionUserPostColumns{
|
||||
Id: "id",
|
||||
ConstructionUserId: "construction_user_id",
|
||||
PostId: "post_id",
|
||||
}
|
||||
|
||||
// NewBusConstructionUserPostDao creates and returns a new DAO object for table data access.
|
||||
func NewBusConstructionUserPostDao() *BusConstructionUserPostDao {
|
||||
return &BusConstructionUserPostDao{
|
||||
group: "default",
|
||||
table: "bus_construction_user_post",
|
||||
columns: busConstructionUserPostColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusConstructionUserPostDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusConstructionUserPostDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusConstructionUserPostDao) Columns() BusConstructionUserPostColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusConstructionUserPostDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusConstructionUserPostDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusConstructionUserPostDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
90
internal/app/system/dao/internal/bus_corporate_events.go
Normal file
90
internal/app/system/dao/internal/bus_corporate_events.go
Normal file
@ -0,0 +1,90 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成dao internal操作代码。
|
||||
// 生成日期:2024-03-20 16:49:36
|
||||
// 生成路径: internal/app/system/dao/internal/bus_corporate_events.go
|
||||
// 生成人:gfast
|
||||
// desc:企业大事记
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package internal
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/gogf/gf/v2/database/gdb"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusCorporateEventsDao is the manager for logic model data accessing and custom defined data operations functions management.
|
||||
type BusCorporateEventsDao struct {
|
||||
table string // Table is the underlying table name of the DAO.
|
||||
group string // Group is the database configuration group name of current DAO.
|
||||
columns BusCorporateEventsColumns // Columns is the short type for Columns, which contains all the column names of Table for convenient usage.
|
||||
}
|
||||
|
||||
// BusCorporateEventsColumns defines and stores column names for table bus_corporate_events.
|
||||
type BusCorporateEventsColumns struct {
|
||||
Id string // 主键ID
|
||||
Headline string // 标题
|
||||
Content string // 内容
|
||||
CreatedBy string // 创建人
|
||||
UpdatedBy string // 更新人
|
||||
CreatedAt string // 创建时间
|
||||
UpdatedAt string // 更新时间
|
||||
DeletedAt string // 删除时间
|
||||
}
|
||||
|
||||
var busCorporateEventsColumns = BusCorporateEventsColumns{
|
||||
Id: "id",
|
||||
Headline: "headline",
|
||||
Content: "content",
|
||||
CreatedBy: "created_by",
|
||||
UpdatedBy: "updated_by",
|
||||
CreatedAt: "created_at",
|
||||
UpdatedAt: "updated_at",
|
||||
DeletedAt: "deleted_at",
|
||||
}
|
||||
|
||||
// NewBusCorporateEventsDao creates and returns a new DAO object for table data access.
|
||||
func NewBusCorporateEventsDao() *BusCorporateEventsDao {
|
||||
return &BusCorporateEventsDao{
|
||||
group: "default",
|
||||
table: "bus_corporate_events",
|
||||
columns: busCorporateEventsColumns,
|
||||
}
|
||||
}
|
||||
|
||||
// DB retrieves and returns the underlying raw database management object of current DAO.
|
||||
func (dao *BusCorporateEventsDao) DB() gdb.DB {
|
||||
return g.DB(dao.group)
|
||||
}
|
||||
|
||||
// Table returns the table name of current dao.
|
||||
func (dao *BusCorporateEventsDao) Table() string {
|
||||
return dao.table
|
||||
}
|
||||
|
||||
// Columns returns all column names of current dao.
|
||||
func (dao *BusCorporateEventsDao) Columns() BusCorporateEventsColumns {
|
||||
return dao.columns
|
||||
}
|
||||
|
||||
// Group returns the configuration group name of database of current dao.
|
||||
func (dao *BusCorporateEventsDao) Group() string {
|
||||
return dao.group
|
||||
}
|
||||
|
||||
// Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
|
||||
func (dao *BusCorporateEventsDao) Ctx(ctx context.Context) *gdb.Model {
|
||||
return dao.DB().Model(dao.table).Safe().Ctx(ctx)
|
||||
}
|
||||
|
||||
// Transaction wraps the transaction logic using function f.
|
||||
// It rollbacks the transaction and returns the error from function f if it returns non-nil error.
|
||||
// It commits the transaction and returns nil if function f returns nil.
|
||||
//
|
||||
// Note that, you should not Commit or Rollback the transaction in function f
|
||||
// as it is automatically handled by this function.
|
||||
func (dao *BusCorporateEventsDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error) {
|
||||
return dao.Ctx(ctx).Transaction(ctx, f)
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user