初始
This commit is contained in:
18
internal/app/system/model/do/app_menus.go
Normal file
18
internal/app/system/model/do/app_menus.go
Normal file
@ -0,0 +1,18 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AppMenus is the golang structure of table app_menus for DAO operations like Where/Data.
|
||||
type AppMenus struct {
|
||||
g.Meta `orm:"table:app_menus, do:true"`
|
||||
MenuId interface{} //
|
||||
MenuName interface{} // 菜单名
|
||||
CreatedAt *gtime.Time //
|
||||
}
|
||||
24
internal/app/system/model/do/app_role_menus.go
Normal file
24
internal/app/system/model/do/app_role_menus.go
Normal file
@ -0,0 +1,24 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-05-28 15:11:15
|
||||
// 生成路径: internal/app/system/model/entity/app_role_menus.go
|
||||
// 生成人:gfast
|
||||
// desc:app角色绑定菜单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// AppRoleMenus is the golang structure for table app_role_menus.
|
||||
type AppRoleMenus struct {
|
||||
gmeta.Meta `orm:"table:app_role_menus, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
RoleId interface{} `orm:"role_id" json:"roleId"` // 角色ID
|
||||
MenuId interface{} `orm:"menu_id" json:"menuId"` // 菜单ID
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
|
||||
}
|
||||
19
internal/app/system/model/do/app_roles.go
Normal file
19
internal/app/system/model/do/app_roles.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AppRoles is the golang structure of table app_roles for DAO operations like Where/Data.
|
||||
type AppRoles struct {
|
||||
g.Meta `orm:"table:app_roles, do:true"`
|
||||
RoleId interface{} //
|
||||
RoleName interface{} // 角色名
|
||||
CreatedAt *gtime.Time //
|
||||
Tag interface{} // 0 管理员 | 1 施工人员
|
||||
}
|
||||
19
internal/app/system/model/do/app_user_disable_menus.go
Normal file
19
internal/app/system/model/do/app_user_disable_menus.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AppUserDisableMenus is the golang structure of table app_user_disable_menus for DAO operations like Where/Data.
|
||||
type AppUserDisableMenus struct {
|
||||
g.Meta `orm:"table:app_user_disable_menus, do:true"`
|
||||
UserDisabledMenuId interface{} //
|
||||
UserId interface{} // 用户ID
|
||||
MenuId interface{} // 菜单ID
|
||||
CreatedAt *gtime.Time //
|
||||
}
|
||||
19
internal/app/system/model/do/app_user_menus.go
Normal file
19
internal/app/system/model/do/app_user_menus.go
Normal file
@ -0,0 +1,19 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AppUserMenus is the golang structure of table app_user_menus for DAO operations like Where/Data.
|
||||
type AppUserMenus struct {
|
||||
g.Meta `orm:"table:app_user_menus, do:true"`
|
||||
UserMenuId interface{} //
|
||||
UserId interface{} // 用户ID
|
||||
MenuId interface{} // 菜单ID
|
||||
CreatedAt *gtime.Time //
|
||||
}
|
||||
20
internal/app/system/model/do/app_user_roles.go
Normal file
20
internal/app/system/model/do/app_user_roles.go
Normal file
@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AppUserRoles is the golang structure of table app_user_roles for DAO operations like Where/Data.
|
||||
type AppUserRoles struct {
|
||||
g.Meta `orm:"table:app_user_roles, do:true"`
|
||||
Id interface{} //
|
||||
UserId interface{} // 用户ID
|
||||
RoleId interface{} // 关联的角色ID
|
||||
CreatedAt *gtime.Time //
|
||||
MajorRole interface{} // 0 后台管理人员 | 1 施工人员
|
||||
}
|
||||
20
internal/app/system/model/do/app_versions.go
Normal file
20
internal/app/system/model/do/app_versions.go
Normal file
@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// AppVersions is the golang structure of table app_versions for DAO operations like Where/Data.
|
||||
type AppVersions struct {
|
||||
g.Meta `orm:"table:app_versions, do:true"`
|
||||
Id interface{} //
|
||||
Version interface{} // 版本号
|
||||
FilePath interface{} // 版本文件的路径
|
||||
CreatedAt *gtime.Time //
|
||||
Platform interface{} // 0 安卓 | 1 IOS
|
||||
}
|
||||
29
internal/app/system/model/do/big_file.go
Normal file
29
internal/app/system/model/do/big_file.go
Normal file
@ -0,0 +1,29 @@
|
||||
// =================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BigFile is the golang structure of table big_file for DAO operations like Where/Data.
|
||||
type BigFile struct {
|
||||
g.Meta `orm:"table:big_file, do:true"`
|
||||
Id interface{} //
|
||||
Name interface{} // 文件名称
|
||||
Size interface{} // 文件大小
|
||||
Path interface{} // 文件相对路径
|
||||
FullPath interface{} // 文件绝对路径
|
||||
MimeType interface{} // 文件类型
|
||||
Source interface{} // 文件来源 0 - 本地,1 - 腾讯云 2 - 七牛云
|
||||
Describe interface{} // 描述
|
||||
Md5 interface{} // md5
|
||||
CreatedBy interface{} //
|
||||
UpdatedBy interface{} //
|
||||
CreatedAt *gtime.Time //
|
||||
UpdatedAt *gtime.Time //
|
||||
DeletedAt *gtime.Time //
|
||||
}
|
||||
28
internal/app/system/model/do/bus_attendance_machine.go
Normal file
28
internal/app/system/model/do/bus_attendance_machine.go
Normal file
@ -0,0 +1,28 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2025-03-03 10:32:47
|
||||
// 生成路径: internal/app/system/model/entity/bus_attendance_machine.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusAttendanceMachine is the golang structure for table bus_attendance_machine.
|
||||
type BusAttendanceMachine struct {
|
||||
gmeta.Meta `orm:"table:bus_attendance_machine, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
Sn interface{} `orm:"sn" json:"sn"` // 设备sn
|
||||
Status interface{} `orm:"status" json:"status"` // 设备sn
|
||||
Teams interface{} `orm:"teams" json:"teams"` // 班组id,多个逗号分隔
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
}
|
||||
24
internal/app/system/model/do/bus_attendance_machine_user.go
Normal file
24
internal/app/system/model/do/bus_attendance_machine_user.go
Normal file
@ -0,0 +1,24 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2025-03-03 10:33:17
|
||||
// 生成路径: internal/app/system/model/entity/bus_attendance_machine_user.go
|
||||
// 生成人:gfast
|
||||
// desc:考勤机用户列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusAttendanceMachineUser is the golang structure for table bus_attendance_machine_user.
|
||||
type BusAttendanceMachineUser struct {
|
||||
gmeta.Meta `orm:"table:bus_attendance_machine_user, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
MachineId interface{} `orm:"machine_id" json:"machineId"` // 考勤机主键ID
|
||||
TeamId interface{} `orm:"team_id" json:"teamId"` // 班组ID
|
||||
UserId interface{} `orm:"user_id" json:"userId"` // 用户ID
|
||||
Identifying interface{} `orm:"identifying" json:"identifying"` // 标识(是否下发)
|
||||
}
|
||||
41
internal/app/system/model/do/bus_camera_channel.go
Normal file
41
internal/app/system/model/do/bus_camera_channel.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-20 14:55:42
|
||||
// 生成路径: internal/app/system/model/entity/bus_camera_channel.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标通道)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusCameraChannel is the golang structure for table bus_camera_channel.
|
||||
type BusCameraChannel struct {
|
||||
gmeta.Meta `orm:"table:bus_camera_channel, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
CountryId interface{} `orm:"country_id" json:"countryId"` // 摄像头ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
ChannelNumber interface{} `orm:"channel_number" json:"channelNumber"` // 国标通道号
|
||||
ChannelName interface{} `orm:"channel_name" json:"channelName"` // 通道名称
|
||||
ChannelPath interface{} `orm:"channel_path" json:"channelPath"` // 视频路径 flv
|
||||
ChannelPathWs interface{} `orm:"channel_path_ws" json:"channelPathWs"` // 视频路径 ws
|
||||
ChannelPathRtc interface{} `orm:"channel_path_rtc" json:"channelPathRtc"` // 视频路径 rtc
|
||||
ChannelPathHls interface{} `orm:"channel_path_hls" json:"channelPathHls"` // 视频路径 hls
|
||||
ChannelFormat interface{} `orm:"channel_format" json:"channelFormat"` // 视频格式(字典)
|
||||
ChannelState interface{} `orm:"channel_state" json:"channelState"` // 在线状态(字典)
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
Detail interface{} `orm:"detail" json:"detail"` // 坐标
|
||||
Imei interface{} `orm:"imei,primary" json:"imei"` // 识别码
|
||||
Iccid interface{} `orm:"iccid,primary" json:"iccid"` // 序列号
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
SourceType interface{} `orm:"source_type" json:"sourceType"` // 资源类型
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
31
internal/app/system/model/do/bus_camera_chinese_standard.go
Normal file
31
internal/app/system/model/do/bus_camera_chinese_standard.go
Normal file
@ -0,0 +1,31 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-20 14:55:24
|
||||
// 生成路径: internal/app/system/model/entity/bus_camera_chinese_standard.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头(国标)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusCameraChineseStandard is the golang structure for table bus_camera_chinese_standard.
|
||||
type BusCameraChineseStandard struct {
|
||||
gmeta.Meta `orm:"table:bus_camera_chinese_standard, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
CountryNumber interface{} `orm:"country_number" json:"countryNumber"` // 国标号
|
||||
CountryName interface{} `orm:"country_name" json:"countryName"` // 摄像头名称
|
||||
CountryState interface{} `orm:"country_state" json:"countryState"` // 在线状态(字典)
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
21
internal/app/system/model/do/bus_category.go
Normal file
21
internal/app/system/model/do/bus_category.go
Normal file
@ -0,0 +1,21 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-10-07 15:52:19
|
||||
// 生成路径: internal/app/system/model/entity/bus_category.go
|
||||
// 生成人:gfast
|
||||
// desc:题库_题库类别
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusCategory is the golang structure for table bus_category.
|
||||
type BusCategory struct {
|
||||
gmeta.Meta `orm:"table:bus_category, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
CategoryName interface{} `orm:"category_name" json:"categoryName"` // 题库类别
|
||||
}
|
||||
29
internal/app/system/model/do/bus_company.go
Normal file
29
internal/app/system/model/do/bus_company.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-28 14:08:14
|
||||
// 生成路径: internal/app/system/model/entity/bus_company.go
|
||||
// 生成人:gfast
|
||||
// desc:公司
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusCompany is the golang structure for table bus_company.
|
||||
type BusCompany struct {
|
||||
gmeta.Meta `orm:"table:bus_company, do:true"`
|
||||
CompanyId interface{} `orm:"company_id,primary" json:"companyId"` // 序号
|
||||
CompanyName interface{} `orm:"company_name" json:"companyName"` // 公司名称
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 帐号状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
29
internal/app/system/model/do/bus_complaint_box.go
Normal file
29
internal/app/system/model/do/bus_complaint_box.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-12-04 18:09:50
|
||||
// 生成路径: internal/app/system/model/entity/bus_complaint_box.go
|
||||
// 生成人:gfast
|
||||
// desc:意见箱
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusComplaintBox is the golang structure for table bus_complaint_box.
|
||||
type BusComplaintBox struct {
|
||||
gmeta.Meta `orm:"table:bus_complaint_box, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Openid interface{} `orm:"openid" json:"openid"` // openid
|
||||
Opinion interface{} `orm:"opinion" json:"opinion"` // 意见
|
||||
Status interface{} `orm:"status" json:"status"` // 状态(0未读,1已读)
|
||||
Dispose *gtime.Time `orm:"dispose" json:"dispose"` // 处理时间
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
}
|
||||
26
internal/app/system/model/do/bus_construction_blacklist.go
Normal file
26
internal/app/system/model/do/bus_construction_blacklist.go
Normal file
@ -0,0 +1,26 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-11-10 14:08:39
|
||||
// 生成路径: internal/app/system/model/entity/bus_construction_blacklist.go
|
||||
// 生成人:gfast
|
||||
// desc:黑名单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusConstructionBlacklist is the golang structure for table bus_construction_blacklist.
|
||||
type BusConstructionBlacklist struct {
|
||||
gmeta.Meta `orm:"table:bus_construction_blacklist, do:true"`
|
||||
Openid interface{} `orm:"openid,primary" json:"openid"` // openid
|
||||
Name interface{} `orm:"name" json:"name"` // 名字
|
||||
SfzNumber interface{} `orm:"sfz_number" json:"sfzNumber"` // 身份证号码
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
}
|
||||
32
internal/app/system/model/do/bus_construction_log.go
Normal file
32
internal/app/system/model/do/bus_construction_log.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-22 16:27:43
|
||||
// 生成路径: internal/app/system/model/entity/bus_construction_log.go
|
||||
// 生成人:gfast
|
||||
// desc:施工日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusConstructionLog is the golang structure for table bus_construction_log.
|
||||
type BusConstructionLog struct {
|
||||
gmeta.Meta `orm:"table:bus_construction_log, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
DateOfOccurrence interface{} `orm:"date_of_occurrence" json:"dateOfOccurrence"` // 发生日期
|
||||
Condition interface{} `orm:"condition" json:"condition"` // 生产情况
|
||||
TechnologyQuality interface{} `orm:"technology_quality" json:"technologyQuality"` // 技术质量安全工作
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
Path interface{} `orm:"path" json:"path"` // 附件(多个逗号分割)
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` // 创建人
|
||||
UpdatedBy interface{} `orm:"updated_by" json:"updatedBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
22
internal/app/system/model/do/bus_construction_project.go
Normal file
22
internal/app/system/model/do/bus_construction_project.go
Normal file
@ -0,0 +1,22 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-07 10:17:50
|
||||
// 生成路径: internal/app/system/model/entity/bus_construction_project.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员对应项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusConstructionProject is the golang structure for table bus_construction_project.
|
||||
type BusConstructionProject struct {
|
||||
gmeta.Meta `orm:"table:bus_construction_project, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
ConstructionUserId interface{} `orm:"construction_user_id" json:"constructionUserId"` // 微信用户id
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
53
internal/app/system/model/do/bus_construction_user.go
Normal file
53
internal/app/system/model/do/bus_construction_user.go
Normal file
@ -0,0 +1,53 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BusConstructionUser is the golang structure of table bus_construction_user for DAO operations like Where/Data.
|
||||
type BusConstructionUser struct {
|
||||
g.Meta `orm:"table:bus_construction_user, do:true"`
|
||||
Id interface{} //
|
||||
Openid interface{} // 微信id
|
||||
NickName interface{} // 微信名称
|
||||
TeamId interface{} // 班组id
|
||||
HeadIcon interface{} // 登陆照片
|
||||
PacePhoto interface{} // 人脸照
|
||||
UserName interface{} // 人员姓名
|
||||
ProjectId interface{} // 项目id
|
||||
Status interface{} // 状态(0在职 1离职)-字典position_status
|
||||
IsPinch interface{} // 是否代打
|
||||
IfManagement interface{} // 是否班组管理
|
||||
CreateBy interface{} // 创建者
|
||||
UpdateBy interface{} // 更新者
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 删除时间
|
||||
Phone interface{} // 电话
|
||||
Sex interface{} // 1:男,2女,3保密
|
||||
SfzNation interface{} // 身份证民族
|
||||
SfzNumber interface{} // 身份证号码
|
||||
SfzStart interface{} // 身份证有效开始期
|
||||
SfzEnd interface{} // 身份证有效结束期
|
||||
SfzSite interface{} // 身份证地址
|
||||
SfzBirth interface{} // 身份证出生日期
|
||||
NativePlace interface{} // 籍贯
|
||||
YhkNumber interface{} // 银行卡号
|
||||
YhkOpeningBank interface{} // 开户行
|
||||
YhkCardholder interface{} // 持卡人
|
||||
TypeOfWork interface{} // 工种(字典)
|
||||
Clock interface{} // 打卡(1启用打卡 2禁止打卡)
|
||||
LabourserviceId interface{} // 劳务公司id
|
||||
EntryDate interface{} // 入场时间
|
||||
LeaveDate interface{} // 离场时间
|
||||
Salary interface{} // 薪水(此字段为0表示此字段无效)
|
||||
ProjectRecord interface{} // 是否开启项目备案(小程序)1开启 2不开启
|
||||
WxOrPc interface{} // 哪添加的(1表示pc 2表示小程序)
|
||||
Subscription interface{} // 消息订阅状态(1订阅 2无订阅)
|
||||
DevNum interface{} // 安全帽设备标识
|
||||
}
|
||||
30
internal/app/system/model/do/bus_construction_user_file.go
Normal file
30
internal/app/system/model/do/bus_construction_user_file.go
Normal file
@ -0,0 +1,30 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-07 10:17:41
|
||||
// 生成路径: internal/app/system/model/entity/bus_construction_user_file.go
|
||||
// 生成人:gfast
|
||||
// desc:微信用户的文件存储
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusConstructionUserFile is the golang structure for table bus_construction_user_file.
|
||||
type BusConstructionUserFile struct {
|
||||
gmeta.Meta `orm:"table:bus_construction_user_file, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
UserId interface{} `orm:"user_id" json:"userId"` // 用户id
|
||||
UserImgType interface{} `orm:"user_img_type" json:"userImgType"` // 图片类型
|
||||
Path interface{} `orm:"path" json:"path"` // 图片路径
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
}
|
||||
22
internal/app/system/model/do/bus_construction_user_post.go
Normal file
22
internal/app/system/model/do/bus_construction_user_post.go
Normal file
@ -0,0 +1,22 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-07 10:06:34
|
||||
// 生成路径: internal/app/system/model/entity/bus_construction_user_post.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员岗位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusConstructionUserPost is the golang structure for table bus_construction_user_post.
|
||||
type BusConstructionUserPost struct {
|
||||
gmeta.Meta `orm:"table:bus_construction_user_post, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
ConstructionUserId interface{} `orm:"construction_user_id" json:"constructionUserId"` // 施工人员id
|
||||
PostId interface{} `orm:"post_id" json:"postId"` // 岗位id
|
||||
}
|
||||
28
internal/app/system/model/do/bus_corporate_events.go
Normal file
28
internal/app/system/model/do/bus_corporate_events.go
Normal file
@ -0,0 +1,28 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-20 16:49:36
|
||||
// 生成路径: internal/app/system/model/entity/bus_corporate_events.go
|
||||
// 生成人:gfast
|
||||
// desc:企业大事记
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusCorporateEvents is the golang structure for table bus_corporate_events.
|
||||
type BusCorporateEvents struct {
|
||||
gmeta.Meta `orm:"table:bus_corporate_events, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
Headline interface{} `orm:"headline" json:"headline"` // 标题
|
||||
Content interface{} `orm:"content" json:"content"` // 内容
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` // 创建人
|
||||
UpdatedBy interface{} `orm:"updated_by" json:"updatedBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
30
internal/app/system/model/do/bus_design_audit.go
Normal file
30
internal/app/system/model/do/bus_design_audit.go
Normal file
@ -0,0 +1,30 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-04-09 15:40:16
|
||||
// 生成路径: internal/app/system/model/entity/bus_design_audit.go
|
||||
// 生成人:gfast
|
||||
// desc:设计审核(竣工、施工、可研)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusDesignAudit is the golang structure for table bus_design_audit.
|
||||
type BusDesignAudit struct {
|
||||
gmeta.Meta `orm:"table:bus_design_audit, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
TableName interface{} `orm:"table_name" json:"tableName"` // 表名
|
||||
TableId interface{} `orm:"table_id" json:"tableId"` // 表ID
|
||||
Status interface{} `orm:"status" json:"status"` // 审核状态(1未读 2拒绝 3通过)
|
||||
Cause interface{} `orm:"cause" json:"cause"` // 拒绝原因
|
||||
Auditor interface{} `orm:"auditor" json:"auditor"` // 审核人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
32
internal/app/system/model/do/bus_design_document.go
Normal file
32
internal/app/system/model/do/bus_design_document.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 16:31:29
|
||||
// 生成路径: internal/app/system/model/entity/bus_design_document.go
|
||||
// 生成人:gfast
|
||||
// desc:设计管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusDesignDocument is the golang structure for table bus_design_document.
|
||||
type BusDesignDocument struct {
|
||||
gmeta.Meta `orm:"table:bus_design_document, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
DocumenName interface{} `orm:"documen_name" json:"documenName"` // 文档名称
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
DocumentUrl interface{} `orm:"document_url" json:"documentUrl"` // 文件路径
|
||||
FileId interface{} `orm:"file_id" json:"fileId"` // 文件夹id
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 上传时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
33
internal/app/system/model/do/bus_design_period_range.go
Normal file
33
internal/app/system/model/do/bus_design_period_range.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-04-11 17:28:54
|
||||
// 生成路径: internal/app/system/model/entity/bus_design_period_range.go
|
||||
// 生成人:gfast
|
||||
// desc:设计-周期范围
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusDesignPeriodRange is the golang structure for table bus_design_period_range.
|
||||
type BusDesignPeriodRange struct {
|
||||
gmeta.Meta `orm:"table:bus_design_period_range, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
TableType interface{} `orm:"table_type" json:"tableType"` // 记录类型(1竣工 2施工 3可研)
|
||||
FileName interface{} `orm:"file_name" json:"fileName"` // 文件名称
|
||||
FilePath interface{} `orm:"file_path" json:"filePath"` // 文件路径
|
||||
IsEntering interface{} `orm:"is_entering" json:"isEntering"` // 路径内容是否存在(1否 2是)
|
||||
StartTime interface{} `orm:"start_time" json:"startTime"` // 起始时间
|
||||
EndTime interface{} `orm:"end_time" json:"endTime"` // 结束时间
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 录入者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
36
internal/app/system/model/do/bus_engineering_quality.go
Normal file
36
internal/app/system/model/do/bus_engineering_quality.go
Normal file
@ -0,0 +1,36 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 09:31:22
|
||||
// 生成路径: internal/app/system/model/entity/bus_engineering_quality.go
|
||||
// 生成人:gfast
|
||||
// desc:工程质量列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusEngineeringQuality is the golang structure for table bus_engineering_quality.
|
||||
type BusEngineeringQuality struct {
|
||||
gmeta.Meta `orm:"table:bus_engineering_quality, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
UnitName1 interface{} `orm:"unit_name1" json:"unitName1"` // 单位工程
|
||||
UnitName2 interface{} `orm:"unit_name2" json:"unitName2"` // 子单位工程
|
||||
UnitName3 interface{} `orm:"unit_name3" json:"unitName3"` // 分部工程
|
||||
UnitName4 interface{} `orm:"unit_name4" json:"unitName4"` // 子分部工程
|
||||
UnitName5 interface{} `orm:"unit_name5" json:"unitName5"` // 分项工程
|
||||
UnitName6 interface{} `orm:"unit_name6" json:"unitName6"` // 检验批
|
||||
QualityName interface{} `orm:"quality_name" json:"qualityName"` // 工程项目名称
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 施工类型状态
|
||||
FileUrl interface{} `orm:"file_url" json:"fileUrl"` // 文件地址
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreateTime *gtime.Time `orm:"create_time" json:"createTime"` // 创建时间
|
||||
UpdateTime *gtime.Time `orm:"update_time" json:"updateTime"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 11:14:45
|
||||
// 生成路径: internal/app/system/model/entity/bus_equipment_equipment_unpacking.go
|
||||
// 生成人:gfast
|
||||
// desc:开箱记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusEquipmentEquipmentUnpacking is the golang structure for table bus_equipment_equipment_unpacking.
|
||||
type BusEquipmentEquipmentUnpacking struct {
|
||||
gmeta.Meta `orm:"table:bus_equipment_equipment_unpacking, do:true"`
|
||||
UnpackingId interface{} `orm:"unpacking_id,primary" json:"unpackingId"` // 序号
|
||||
EquipmentMaterialsId interface{} `orm:"equipment_materials_id" json:"equipmentMaterialsId"` // 设备id
|
||||
UnpackingName interface{} `orm:"unpacking_name" json:"unpackingName"` // 开箱名称
|
||||
UnpackingUrl interface{} `orm:"unpacking_url" json:"unpackingUrl"` // 开箱上传文件
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
44
internal/app/system/model/do/bus_equipment_materials.go
Normal file
44
internal/app/system/model/do/bus_equipment_materials.go
Normal file
@ -0,0 +1,44 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 11:14:16
|
||||
// 生成路径: internal/app/system/model/entity/bus_equipment_materials.go
|
||||
// 生成人:gfast
|
||||
// desc:材料/设备名称
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusEquipmentMaterials is the golang structure for table bus_equipment_materials.
|
||||
type BusEquipmentMaterials struct {
|
||||
gmeta.Meta `orm:"table:bus_equipment_materials, do:true"`
|
||||
EquipmentMaterialsId interface{} `orm:"equipment_materials_id,primary" json:"equipmentMaterialsId"` // 序号
|
||||
EquipmentMaterialsName interface{} `orm:"equipment_materials_name" json:"equipmentMaterialsName"` // 材料/设备
|
||||
CompanyId interface{} `orm:"company_id" json:"companyId"` // 公司
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目
|
||||
TypeSpecificationName interface{} `orm:"type_specification_name" json:"typeSpecificationName"` // 规格型号
|
||||
TypeSpecificationUrl interface{} `orm:"type_specification_url" json:"typeSpecificationUrl"` // 规格型号文件
|
||||
CertificateConformityName interface{} `orm:"certificate_conformity_name" json:"certificateConformityName"` // 合格证编号
|
||||
CertificateConformityUrl interface{} `orm:"certificate_conformity_url" json:"certificateConformityUrl"` // 合格证编号文件
|
||||
QualityName interface{} `orm:"quality_name" json:"qualityName"` // 质量说明书编号
|
||||
QualityUrl interface{} `orm:"quality_url" json:"qualityUrl"` // 质量说明书文件
|
||||
InspectionReportName interface{} `orm:"inspection_report_name" json:"inspectionReportName"` // 检验报告编号
|
||||
InspectionReportUrl interface{} `orm:"inspection_report_url" json:"inspectionReportUrl"` // 检验报告文件
|
||||
ReexamineReportName interface{} `orm:"reexamine_report_name" json:"reexamineReportName"` // 复试报告编号
|
||||
ReexamineReportUrl interface{} `orm:"reexamine_report_url" json:"reexamineReportUrl"` // 复试报告文件
|
||||
UsePart interface{} `orm:"use_part" json:"usePart"` // 使用部位
|
||||
WeightId interface{} `orm:"weight_id" json:"weightId"` // 计量单位
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
QuantityCount interface{} `orm:"quantity_count" json:"quantityCount"` // 材料数量
|
||||
Status interface{} `orm:"status" json:"status"` // 状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除视角
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-13 14:21:30
|
||||
// 生成路径: internal/app/system/model/entity/bus_equipment_materials_inventory.go
|
||||
// 生成人:gfast
|
||||
// desc:设备材料入库
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusEquipmentMaterialsInventory is the golang structure for table bus_equipment_materials_inventory.
|
||||
type BusEquipmentMaterialsInventory struct {
|
||||
gmeta.Meta `orm:"table:bus_equipment_materials_inventory, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
EquipmentMaterialsId interface{} `orm:"equipment_materials_id" json:"equipmentMaterialsId"` // 材料ID
|
||||
OutPut interface{} `orm:"out_put" json:"outPut"` // 出入库
|
||||
Number interface{} `orm:"number" json:"number"` // 数量
|
||||
OutPutTime *gtime.Time `orm:"out_put_time" json:"outPutTime"` // 出入库时间
|
||||
Residue interface{} `orm:"residue" json:"residue"` // 剩余库存数量
|
||||
Operator interface{} `orm:"operator" json:"operator"` // 出入库负责人
|
||||
Recipient interface{} `orm:"recipient" json:"recipient" dc:"交接单位"` //交接单位
|
||||
Shipper interface{} `orm:"shipper" json:"shipper" dc:"领用人"` //领用人
|
||||
Disposition interface{} `orm:"disposition"json:"disposition"dc:"处理方式"` //处理方式
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除视角
|
||||
Path interface{} `orm:"path" json:"path"` // 资源路径
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BusEquipmentMaterialsInventoryFile is the golang structure of table bus_equipment_materials_inventory_file for DAO operations like Where/Data.
|
||||
type BusEquipmentMaterialsInventoryFile struct {
|
||||
g.Meta `orm:"table:bus_equipment_materials_inventory_file, do:true"`
|
||||
Id interface{} // 主键
|
||||
MaterialsInventoryId interface{} // 设备材料Id
|
||||
Name interface{} // 文件名字
|
||||
Path interface{} // 文件路径
|
||||
Suffix interface{} // 文件后缀
|
||||
Size interface{} // 文件大小
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-28 15:27:53
|
||||
// 生成路径: internal/app/system/model/entity/bus_equipment_materials_weight.go
|
||||
// 生成人:gfast
|
||||
// desc:计量单位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusEquipmentMaterialsWeight is the golang structure for table bus_equipment_materials_weight.
|
||||
type BusEquipmentMaterialsWeight struct {
|
||||
gmeta.Meta `orm:"table:bus_equipment_materials_weight, do:true"`
|
||||
WeightId interface{} `orm:"weight_id,primary" json:"weightId"` // 序号
|
||||
Weight interface{} `orm:"weight" json:"weight"` // 计量单位名称
|
||||
Status interface{} `orm:"status" json:"status"` // 状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
25
internal/app/system/model/do/bus_essential_information.go
Normal file
25
internal/app/system/model/do/bus_essential_information.go
Normal file
@ -0,0 +1,25 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-20 19:38:54
|
||||
// 生成路径: internal/app/system/model/entity/bus_essential_information.go
|
||||
// 生成人:gfast
|
||||
// desc:项目基本信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusEssentialInformation is the golang structure for table bus_essential_information.
|
||||
type BusEssentialInformation struct {
|
||||
gmeta.Meta `orm:"table:bus_essential_information, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
One interface{} `orm:"one" json:"one"` // 发电量
|
||||
Two interface{} `orm:"two" json:"two"` // 年发电量
|
||||
Three interface{} `orm:"three" json:"three"` // 当前发电量
|
||||
Four interface{} `orm:"four" json:"four"` // 减排量
|
||||
Five interface{} `orm:"five" json:"five"` // 预估发电量
|
||||
}
|
||||
32
internal/app/system/model/do/bus_folder.go
Normal file
32
internal/app/system/model/do/bus_folder.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-15 17:15:59
|
||||
// 生成路径: internal/app/system/model/entity/bus_folder.go
|
||||
// 生成人:gfast
|
||||
// desc:文件夹
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusFolder is the golang structure for table bus_folder.
|
||||
type BusFolder struct {
|
||||
gmeta.Meta `orm:"table:bus_folder, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Father interface{} `orm:"father" json:"father"` // 大于0表示当前文件夹有父级
|
||||
FolderType interface{} `orm:"folder_type" json:"folderType"` // 文件夹类型
|
||||
Icon interface{} `orm:"icon" json:"icon"` // 文件夹图标
|
||||
Name interface{} `orm:"name" json:"name"` // 文件夹名称
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
35
internal/app/system/model/do/bus_folder_file.go
Normal file
35
internal/app/system/model/do/bus_folder_file.go
Normal file
@ -0,0 +1,35 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-15 17:16:00
|
||||
// 生成路径: internal/app/system/model/entity/bus_folder_file.go
|
||||
// 生成人:gfast
|
||||
// desc:文件
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusFolderFile is the golang structure for table bus_folder_file.
|
||||
type BusFolderFile struct {
|
||||
gmeta.Meta `orm:"table:bus_folder_file, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 項目id
|
||||
FolderId interface{} `orm:"folder_id" json:"folderId"` // 所属文件夹
|
||||
FileType interface{} `orm:"file_type" json:"fileType"` // 文件类型
|
||||
Name interface{} `orm:"name" json:"name"` // 文件名称
|
||||
Size interface{} `orm:"size" json:"size"` // 文件大小
|
||||
Suffix interface{} `orm:"suffix" json:"suffix"` // 文件后缀
|
||||
Path interface{} `orm:"path" json:"path"` // 文件路径
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
UserType interface{} `orm:"user_type" json:"userType"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
42
internal/app/system/model/do/bus_hse_management.go
Normal file
42
internal/app/system/model/do/bus_hse_management.go
Normal file
@ -0,0 +1,42 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-28 14:53:05
|
||||
// 生成路径: internal/app/system/model/entity/bus_hse_management.go
|
||||
// 生成人:gfast
|
||||
// desc:HSE-巡检工单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusHseManagement is the golang structure for table bus_hse_management.
|
||||
type BusHseManagement struct {
|
||||
gmeta.Meta `orm:"table:bus_hse_management, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 你
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
StudyType interface{} `orm:"study_type" json:"studyType"` // 检查类型
|
||||
TourType interface{} `orm:"tour_type" json:"tourType"` // 违章类型字典
|
||||
InspectionResult interface{} `orm:"inspection_result" json:"inspectionResult"` // 巡检结果
|
||||
TeamName interface{} `orm:"team_name" json:"teamName"` // 名称(班组/部门)
|
||||
Corrector interface{} `orm:"corrector" json:"corrector"` // 整改人(班组长)
|
||||
IsReply interface{} `orm:"is_reply" json:"isReply"` // 是否回复(1回复 2不回复)
|
||||
ReplyDate interface{} `orm:"reply_date" json:"replyDate"` // 回复日期
|
||||
Status interface{} `orm:"status" json:"status"` // 工单状态(1通知 2整改 3复查)
|
||||
HiddenDanger interface{} `orm:"hidden_danger" json:"hiddenDanger"` // 问题隐患
|
||||
Measure interface{} `orm:"measure" json:"measure"` // 整改措施
|
||||
Review interface{} `orm:"review" json:"review"` // 复查情况
|
||||
ReviewType interface{} `orm:"review_type" json:"reviewType"` // 复查状态
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` // 创建人
|
||||
UpdatedBy interface{} `orm:"updated_by" json:"updatedBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
CheckTime *gtime.Time `orm:"check_time" json:"checkTime"` // 检查时间
|
||||
RectificationTime *gtime.Time `orm:"rectification_time" json:"rectificationTime"` // 整改时间
|
||||
ReviewTime *gtime.Time `orm:"review_time" json:"reviewTime"` // 复查时间
|
||||
}
|
||||
41
internal/app/system/model/do/bus_hse_security_log.go
Normal file
41
internal/app/system/model/do/bus_hse_security_log.go
Normal file
@ -0,0 +1,41 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-04-07 17:00:45
|
||||
// 生成路径: internal/app/system/model/entity/bus_hse_security_log.go
|
||||
// 生成人:gfast
|
||||
// desc:HSE安全日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusHseSecurityLog is the golang structure for table bus_hse_security_log.
|
||||
type BusHseSecurityLog struct {
|
||||
gmeta.Meta `orm:"table:bus_hse_security_log, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
DateOfOccurrence interface{} `orm:"date_of_occurrence" json:"dateOfOccurrence"` // 发生日期
|
||||
AirTemperatureMax interface{} `orm:"air_temperature_max" json:"airTemperatureMax"` // 最高气温
|
||||
AirTemperatureMin interface{} `orm:"air_temperature_min" json:"airTemperatureMin"` // 最低气温
|
||||
Climate interface{} `orm:"climate" json:"climate"` // 气候(字典)
|
||||
Progress interface{} `orm:"progress" json:"progress"` // 进展情况
|
||||
JobContent interface{} `orm:"job_content" json:"jobContent"` // 作业内容
|
||||
DiscloseTheFacts interface{} `orm:"disclose_the_facts" json:"discloseTheFacts"` // 交底情况
|
||||
ProgressOfActivity interface{} `orm:"progress_of_activity" json:"progressOfActivity"` // 活动情况
|
||||
Examine interface{} `orm:"examine" json:"examine"` // 检查情况
|
||||
Implementation interface{} `orm:"implementation" json:"implementation"` // 实施情况
|
||||
SafetyInspectionSituation interface{} `orm:"safety_inspection_situation" json:"safetyInspectionSituation"` // 安全检查情况
|
||||
StoppageOrOvertime interface{} `orm:"stoppage_or_overtime" json:"stoppageOrOvertime"` // 停工或加班情况
|
||||
OtherRecords interface{} `orm:"other_records" json:"otherRecords"` // 其他情况
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` // 创建人
|
||||
UpdatedBy interface{} `orm:"updated_by" json:"updatedBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
40
internal/app/system/model/do/bus_inspection_ticket.go
Normal file
40
internal/app/system/model/do/bus_inspection_ticket.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-21 15:23:59
|
||||
// 生成路径: internal/app/system/model/entity/bus_inspection_ticket.go
|
||||
// 生成人:gfast
|
||||
// desc:质量工单
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusInspectionTicket is the golang structure for table bus_inspection_ticket.
|
||||
type BusInspectionTicket struct {
|
||||
gmeta.Meta `orm:"table:bus_inspection_ticket, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
InspectionType interface{} `orm:"inspection_type" json:"inspectionType"` // 巡检类型(关联字典)
|
||||
InspectionHeadline interface{} `orm:"inspection_headline" json:"inspectionHeadline"` // 巡检主题
|
||||
InspectionResult interface{} `orm:"inspection_result" json:"inspectionResult"` // 巡检结果
|
||||
Corrector interface{} `orm:"corrector" json:"corrector"` // 整改人(班组长)
|
||||
IsReply interface{} `orm:"is_reply" json:"isReply"` // 是否回复(1回复 2不回复)
|
||||
ReplyDate interface{} `orm:"reply_date" json:"replyDate"` // 回复日期
|
||||
Status interface{} `orm:"status" json:"status"` // 工单状态(1通知 2整改 3验证)
|
||||
Feedback interface{} `orm:"feedback" json:"feedback"` // 整改反馈
|
||||
VerificationResult interface{} `orm:"verification_result" json:"verificationResult"` // 验证结果
|
||||
VerificationType interface{} `orm:"verification_type" json:"verificationType"` // 验证状态(1通过 2未通过)
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` // 创建人
|
||||
UpdatedBy interface{} `orm:"updated_by" json:"updatedBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
CheckTime *gtime.Time `orm:"check_time" json:"checkTime"` // 通知时间
|
||||
RectificationTime *gtime.Time `orm:"rectification_time" json:"rectificationTime"` // 整改时间
|
||||
ReviewTime *gtime.Time `orm:"review_time" json:"reviewTime"` // 验证时间
|
||||
}
|
||||
37
internal/app/system/model/do/bus_machinery.go
Normal file
37
internal/app/system/model/do/bus_machinery.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 14:02:01
|
||||
// 生成路径: internal/app/system/model/entity/bus_machinery.go
|
||||
// 生成人:gfast
|
||||
// desc:机械
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusMachinery is the golang structure for table bus_machinery.
|
||||
type BusMachinery struct {
|
||||
gmeta.Meta `orm:"table:bus_machinery, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
MachineryName interface{} `orm:"machinery_name" json:"machineryName"` // 机械名称
|
||||
MachineryNumber interface{} `orm:"machinery_number" json:"machineryNumber"` // 编号
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
CheckoutNumber interface{} `orm:"checkout_number" json:"checkoutNumber"` // 检验证编号
|
||||
CheckoutUnit interface{} `orm:"checkout_unit" json:"checkoutUnit"` // 检验单位
|
||||
CheckoutDate interface{} `orm:"checkout_date" json:"checkoutDate"` // 检定日期/有效期
|
||||
Status interface{} `orm:"status" json:"status"` // 施工类型状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Number interface{} `orm:"number" json:"number"` // 数量
|
||||
EntryTime *gtime.Time `orm:"entry_time" json:"entryTime"` // 数量
|
||||
Principal interface{} `orm:"principal" json:"principal"` // 数量
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 数量
|
||||
}
|
||||
36
internal/app/system/model/do/bus_machinery_detail.go
Normal file
36
internal/app/system/model/do/bus_machinery_detail.go
Normal file
@ -0,0 +1,36 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-10-12 11:41:31
|
||||
// 生成路径: internal/app/system/model/entity/bus_machinery_detail.go
|
||||
// 生成人:gfast
|
||||
// desc:机械详情
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusMachineryDetail is the golang structure for table bus_machinery_detail.
|
||||
type BusMachineryDetail struct {
|
||||
gmeta.Meta `orm:"table:bus_machinery_detail, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
CheckoutNumber interface{} `orm:"checkout_number" json:"checkoutNumber"` // 检验证编号
|
||||
CheckoutUnit interface{} `orm:"checkout_unit" json:"checkoutUnit"` // 检验单位
|
||||
CheckoutDate interface{} `orm:"checkout_date" json:"checkoutDate"` // 检定日期/有效期
|
||||
Status interface{} `orm:"status" json:"status"` // 施工类型状态
|
||||
Type interface{} `orm:"type" json:"type"` // 1出场 2入场
|
||||
EntryTime *gtime.Time `orm:"entry_time" json:"entryTime"` // 入场时间
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
Picture interface{} `orm:"picture" json:"picture"` // 4张图片,逗号分隔
|
||||
MachineryId interface{} `orm:"machinery_id" json:"machineryId"` // 机械主键ID
|
||||
Principal interface{} `orm:"principal" json:"principal"` // 负责人
|
||||
}
|
||||
21
internal/app/system/model/do/bus_machinery_detail_file.go
Normal file
21
internal/app/system/model/do/bus_machinery_detail_file.go
Normal file
@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// BusMachineryDetailFile is the golang structure of table bus_machinery_detail_file for DAO operations like Where/Data.
|
||||
type BusMachineryDetailFile struct {
|
||||
g.Meta `orm:"table:bus_machinery_detail_file, do:true"`
|
||||
Id interface{} // 主键
|
||||
MachineryDetailId interface{} // 机械设备详情id
|
||||
Name interface{} // 文件名字
|
||||
Path interface{} // 文件路径
|
||||
Type interface{} // 文件类型
|
||||
Size interface{} // 文件大小
|
||||
SourceType interface{} // 文件来源类型(1合格校验单 2租赁校验单)
|
||||
}
|
||||
22
internal/app/system/model/do/bus_machinery_record.go
Normal file
22
internal/app/system/model/do/bus_machinery_record.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// BusMachineryRecord is the golang structure of table bus_machinery_record for DAO operations like Where/Data.
|
||||
type BusMachineryRecord struct {
|
||||
g.Meta `orm:"table:bus_machinery_record, do:true"`
|
||||
Id interface{} // id
|
||||
MachineryDetailId interface{} // 机械详情id
|
||||
Status interface{} // 施工类型状态(0正常 1停用)
|
||||
Type interface{} // 1出场 2入场
|
||||
RecordTime *gtime.Time // 记录出入场时间
|
||||
CreateBy interface{} // 创建人
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
}
|
||||
46
internal/app/system/model/do/bus_payroll_list.go
Normal file
46
internal/app/system/model/do/bus_payroll_list.go
Normal file
@ -0,0 +1,46 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-11-20 13:51:38
|
||||
// 生成路径: internal/app/system/model/entity/bus_payroll_list.go
|
||||
// 生成人:gfast
|
||||
// desc:工资(excel导入形成的)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusPayrollList is the golang structure for table bus_payroll_list.
|
||||
type BusPayrollList struct {
|
||||
gmeta.Meta `orm:"table:bus_payroll_list, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
XNumber interface{} `orm:"x_number" json:"xNumber"` // 编号
|
||||
Name interface{} `orm:"name" json:"name"` // 姓名
|
||||
IdentityCard interface{} `orm:"identity_card" json:"identityCard"` // 身份证号码
|
||||
ContactWay interface{} `orm:"contact_way" json:"contactWay"` // 联系方式
|
||||
TeamOrGroup interface{} `orm:"team_or_group" json:"teamOrGroup"` // 班组
|
||||
TypeOfWork interface{} `orm:"type_of_work" json:"typeOfWork"` // 工种
|
||||
AttendanceTime interface{} `orm:"attendance_time" json:"attendanceTime"` // 当月考勤工作时间
|
||||
ActualWorkload interface{} `orm:"actual_workload" json:"actualWorkload"` // 当月产生实际工作量
|
||||
Quantity interface{} `orm:"quantity" json:"quantity"` // 元量
|
||||
XDay interface{} `orm:"x_day" json:"xDay"` // 元天
|
||||
XMonth interface{} `orm:"x_month" json:"xMonth"` // 元月
|
||||
OvertimeWage interface{} `orm:"overtime_wage" json:"overtimeWage"` // 加班工资
|
||||
Salary interface{} `orm:"salary" json:"salary"` // 应发
|
||||
AmountWithheld interface{} `orm:"amount_withheld" json:"amountWithheld"` // 代扣金额
|
||||
AmountPaid interface{} `orm:"amount_paid" json:"amountPaid"` // 代缴金额
|
||||
DeductOther interface{} `orm:"deduct_other" json:"deductOther"` // 扣除其他项目金额(如:预支)
|
||||
AmountPaidOut interface{} `orm:"amount_paid_out" json:"amountPaidOut"` // 实发金额
|
||||
ReleaseMode interface{} `orm:"release_mode" json:"releaseMode"` // 发放方式
|
||||
CreditCardNumbers interface{} `orm:"credit_card_numbers" json:"creditCardNumbers"` // 银行卡号
|
||||
OpeningBank interface{} `orm:"opening_bank" json:"openingBank"` // 开户行(具体到分行)
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
32
internal/app/system/model/do/bus_presetting_bit.go
Normal file
32
internal/app/system/model/do/bus_presetting_bit.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-10-19 15:17:27
|
||||
// 生成路径: internal/app/system/model/entity/bus_presetting_bit.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头预置位
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusPresettingBit is the golang structure for table bus_presetting_bit.
|
||||
type BusPresettingBit struct {
|
||||
gmeta.Meta `orm:"table:bus_presetting_bit, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
CameraId interface{} `orm:"camera_id" json:"cameraId"` // 摄像头ID
|
||||
Serial interface{} `orm:"serial" json:"serial"` // 国标号
|
||||
Code interface{} `orm:"code" json:"code"` // 通道号
|
||||
Command interface{} `orm:"command" json:"command"` // 指令
|
||||
Preset interface{} `orm:"preset" json:"preset"` // 预置位编号
|
||||
Name interface{} `orm:"name" json:"name"` // 预置位名称
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
24
internal/app/system/model/do/bus_projectin_progress.go
Normal file
24
internal/app/system/model/do/bus_projectin_progress.go
Normal file
@ -0,0 +1,24 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-20 19:45:19
|
||||
// 生成路径: internal/app/system/model/entity/bus_projectin_progress.go
|
||||
// 生成人:gfast
|
||||
// desc:在建项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusProjectinProgress is the golang structure for table bus_projectin_progress.
|
||||
type BusProjectinProgress struct {
|
||||
gmeta.Meta `orm:"table:bus_projectin_progress, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
ParallelIn interface{} `orm:"parallel_in" json:"parallelIn"` // 并网容量
|
||||
CreatedBy *gtime.Time `orm:"created_by" json:"createdBy"` // 创建时间
|
||||
}
|
||||
33
internal/app/system/model/do/bus_quality.go
Normal file
33
internal/app/system/model/do/bus_quality.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-02 17:11:39
|
||||
// 生成路径: internal/app/system/model/entity/bus_quality.go
|
||||
// 生成人:gfast
|
||||
// desc:质量文档管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusQuality is the golang structure for table bus_quality.
|
||||
type BusQuality struct {
|
||||
gmeta.Meta `orm:"table:bus_quality, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
QualityName interface{} `orm:"quality_name" json:"qualityName"` // 质量检查名称
|
||||
QualityExplain interface{} `orm:"quality_explain" json:"qualityExplain"` // 质量说明
|
||||
QualityDocument interface{} `orm:"quality_document" json:"qualityDocument"` // 质量检查文件
|
||||
QualityType interface{} `orm:"quality_type" json:"qualityType"` // 质量类型
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
UserType interface{} `orm:"user_type" json:"userType"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 帐号状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
33
internal/app/system/model/do/bus_question_bank.go
Normal file
33
internal/app/system/model/do/bus_question_bank.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-10-07 15:52:18
|
||||
// 生成路径: internal/app/system/model/entity/bus_question_bank.go
|
||||
// 生成人:gfast
|
||||
// desc:题库
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusQuestionBank is the golang structure for table bus_question_bank.
|
||||
type BusQuestionBank struct {
|
||||
gmeta.Meta `orm:"table:bus_question_bank, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
CategoryId interface{} `orm:"category_id" json:"categoryId"` // 题目类别
|
||||
QuestionType interface{} `orm:"question_type" json:"questionType"` // 题目类型(1单选、2多选、3判断、4填空、5问答)
|
||||
QuestionText interface{} `orm:"question_text" json:"questionText"` // 题目内容
|
||||
Options interface{} `orm:"options" json:"options"` // 选项(对单选、多选、判断这种固定答案有效,以JSON数组形式存储)
|
||||
CorrectAnswer interface{} `orm:"correct_answer" json:"correctAnswer"` // 正确答案
|
||||
Score interface{} `orm:"score" json:"score"` // 得分
|
||||
WxOrPc interface{} `orm:"wx_or_pc" json:"wxOrPc"` // 创建人类型(1pc、2小程序)
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
34
internal/app/system/model/do/bus_question_save.go
Normal file
34
internal/app/system/model/do/bus_question_save.go
Normal file
@ -0,0 +1,34 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-11-01 17:33:04
|
||||
// 生成路径: internal/app/system/model/entity/bus_question_save.go
|
||||
// 生成人:gfast
|
||||
// desc:用户试卷存储
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusQuestionSave is the golang structure for table bus_question_save.
|
||||
type BusQuestionSave struct {
|
||||
gmeta.Meta `orm:"table:bus_question_save, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
Openid interface{} `orm:"openid" json:"openid"` // openid
|
||||
BankId interface{} `orm:"bank_id" json:"bankId"` // 题库ID
|
||||
Answer interface{} `orm:"answer" json:"answer"` // 答案
|
||||
Correct interface{} `orm:"correct" json:"correct"` // 答题是否正确(1正确 2错误)
|
||||
Score interface{} `orm:"score" json:"score"` // 得分(当前题)
|
||||
Sign interface{} `orm:"sign" json:"sign"` // 签名路径
|
||||
TakeTime interface{} `orm:"take_time" json:"takeTime"` // 用时时间(时间戳/秒)
|
||||
TimeOut interface{} `orm:"time_out" json:"timeOut"` // 最大超时时间(单位/分钟)
|
||||
Pass interface{} `orm:"pass" json:"pass"` // 及格线/总分(格式:60,100)
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
29
internal/app/system/model/do/bus_questions_configuration.go
Normal file
29
internal/app/system/model/do/bus_questions_configuration.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-10-07 17:11:20
|
||||
// 生成路径: internal/app/system/model/entity/bus_questions_configuration.go
|
||||
// 生成人:gfast
|
||||
// desc:题库配置
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusQuestionsConfiguration is the golang structure for table bus_questions_configuration.
|
||||
type BusQuestionsConfiguration struct {
|
||||
gmeta.Meta `orm:"table:bus_questions_configuration, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
SingleChoice interface{} `orm:"single_choice" json:"singleChoice"` // 单选题(单位/道)
|
||||
SingleScore interface{} `orm:"single_score" json:"singleScore"` // 单选分数
|
||||
MultipleChoice interface{} `orm:"multiple_choice" json:"multipleChoice"` // 多选题(单位/道)
|
||||
MultipleScore interface{} `orm:"multiple_score" json:"multipleScore"` // 多选分数
|
||||
Estimate interface{} `orm:"estimate" json:"estimate"` // 判断题(单位/道)
|
||||
EstimateScore interface{} `orm:"estimate_score" json:"estimateScore"` // 判断分数
|
||||
FullMark interface{} `orm:"full_mark" json:"fullMark"` // 满分
|
||||
PassingScore interface{} `orm:"passing_score" json:"passingScore"` // 及格线
|
||||
AnswerTime interface{} `orm:"answer_time" json:"answerTime"` // 最大答题时间(单位/分)
|
||||
}
|
||||
37
internal/app/system/model/do/bus_reissue_a_card.go
Normal file
37
internal/app/system/model/do/bus_reissue_a_card.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-02-02 15:18:48
|
||||
// 生成路径: internal/app/system/model/entity/bus_reissue_a_card.go
|
||||
// 生成人:gfast
|
||||
// desc:施工人员补卡申请
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusReissueACard is the golang structure for table bus_reissue_a_card.
|
||||
type BusReissueACard struct {
|
||||
gmeta.Meta `orm:"table:bus_reissue_a_card, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
Openid interface{} `orm:"openid" json:"openid"` // 申请人
|
||||
Scope interface{} `orm:"scope" json:"scope"` // 申请补卡范围
|
||||
Explain interface{} `orm:"explain" json:"explain"` // 申请补卡说明
|
||||
Ganger interface{} `orm:"ganger" json:"ganger"` // 班组长
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
TeamId interface{} `orm:"team_id" json:"teamId"` // 班组ID
|
||||
GangerOpinion interface{} `orm:"ganger_opinion" json:"gangerOpinion"` // 班组长意见(1未读 2同意 3拒绝)
|
||||
GangerExplain interface{} `orm:"ganger_explain" json:"gangerExplain"` // 班组长说明
|
||||
GangerTime *gtime.Time `orm:"ganger_time" json:"gangerTime"` // 班组长操作时间
|
||||
ManagerOpinion interface{} `orm:"manager_opinion" json:"managerOpinion"` // 管理员意见(1未读 2同意 3拒绝)
|
||||
ManagerExplain interface{} `orm:"manager_explain" json:"managerExplain"` // 管理员说明
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 后台操作人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
Type interface{} `orm:"type" json:"type"` // 补卡范围(1全体 2上班 3下班)
|
||||
AttendanceId interface{} `orm:"attendance_id" json:"attendanceId"` // 补卡范围(1全体 2上班 3下班)
|
||||
}
|
||||
32
internal/app/system/model/do/bus_research_document.go
Normal file
32
internal/app/system/model/do/bus_research_document.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 16:04:06
|
||||
// 生成路径: internal/app/system/model/entity/bus_research_document.go
|
||||
// 生成人:gfast
|
||||
// desc:科研文档
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusResearchDocument is the golang structure for table bus_research_document.
|
||||
type BusResearchDocument struct {
|
||||
gmeta.Meta `orm:"table:bus_research_document, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
DocumenName interface{} `orm:"documen_name" json:"documenName"` // 文档名称
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
DocumentUrl interface{} `orm:"document_url" json:"documentUrl"` // 文件路径
|
||||
FileId interface{} `orm:"file_id" json:"fileId"` // 文件夹id
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 上传时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
35
internal/app/system/model/do/bus_safety.go
Normal file
35
internal/app/system/model/do/bus_safety.go
Normal file
@ -0,0 +1,35 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-02 15:40:48
|
||||
// 生成路径: internal/app/system/model/entity/bus_safety.go
|
||||
// 生成人:gfast
|
||||
// desc:安全例会管理
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusSafety is the golang structure for table bus_safety.
|
||||
type BusSafety struct {
|
||||
gmeta.Meta `orm:"table:bus_safety, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
SafetyName interface{} `orm:"safety_name" json:"safetyName"` // 安全检查名称
|
||||
SafetyExplain interface{} `orm:"safety_explain" json:"safetyExplain"` // 安全说明
|
||||
SafetyDocument interface{} `orm:"safety_document" json:"safetyDocument"` // 安全检查文件
|
||||
SafetyType interface{} `orm:"safety_type" json:"safetyType"` // 安全类型
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
UserType interface{} `orm:"user_type" json:"userType"` // 用户类型
|
||||
StartDate *gtime.Time `orm:"start_date" json:"startDate"` // 实际创建时间
|
||||
SafetyGrade interface{} `orm:"safety_grade" json:"safetyGrade"` // 等级
|
||||
Status interface{} `orm:"status" json:"status"` // 帐号状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
36
internal/app/system/model/do/bus_salary_details.go
Normal file
36
internal/app/system/model/do/bus_salary_details.go
Normal file
@ -0,0 +1,36 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-02-01 16:39:01
|
||||
// 生成路径: internal/app/system/model/entity/bus_salary_details.go
|
||||
// 生成人:gfast
|
||||
// desc:员工工资考核记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusSalaryDetails is the golang structure for table bus_salary_details.
|
||||
type BusSalaryDetails struct {
|
||||
gmeta.Meta `orm:"table:bus_salary_details, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
SfzNumber interface{} `orm:"sfz_number" json:"sfzNumber"` // 身份证
|
||||
Name interface{} `orm:"name" json:"name"` // 户名
|
||||
Account interface{} `orm:"account" json:"account"` // 账户
|
||||
BankingHouse interface{} `orm:"banking_house" json:"bankingHouse"` // 银行
|
||||
SumDuration interface{} `orm:"sum_duration" json:"sumDuration"` // 当月总时长
|
||||
Salary interface{} `orm:"salary" json:"salary"` // 薪水(天)
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
TeamId interface{} `orm:"team_id" json:"teamId"` // 班组id
|
||||
ProjectName interface{} `orm:"project_name" json:"projectName"` // 项目名称
|
||||
TeamName interface{} `orm:"team_name" json:"teamName"` // 班组名称
|
||||
DateOfIssue interface{} `orm:"date_of_issue" json:"dateOfIssue"` // 发放年月
|
||||
Lister interface{} `orm:"lister" json:"lister"` // 制表人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
36
internal/app/system/model/do/bus_scheduled_plan_type.go
Normal file
36
internal/app/system/model/do/bus_scheduled_plan_type.go
Normal file
@ -0,0 +1,36 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 17:39:12
|
||||
// 生成路径: internal/app/system/model/entity/bus_scheduled_plan_type.go
|
||||
// 生成人:gfast
|
||||
// desc:施工进度分类
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusScheduledPlanType is the golang structure for table bus_scheduled_plan_type.
|
||||
type BusScheduledPlanType struct {
|
||||
gmeta.Meta `orm:"table:bus_scheduled_plan_type, do:true"`
|
||||
PlanTypeId interface{} `orm:"plan_type_id,primary" json:"planTypeId"` // 施工类型id
|
||||
ParentId interface{} `orm:"parent_id" json:"parentId"` // 父文件id
|
||||
Ancestors interface{} `orm:"ancestors" json:"ancestors"` // 祖级列表
|
||||
PlanTypeName interface{} `orm:"plan_type_name" json:"planTypeName"` // 施工类型名称
|
||||
PlannedTime interface{} `orm:"planned_time" json:"plannedTime"` // 计划施工持续时间
|
||||
PlanStartTime interface{} `orm:"plan_start_time" json:"planStartTime"` // 计划工期开始时间
|
||||
PlanEndTime interface{} `orm:"plan_end_time" json:"planEndTime"` // 计划工期结束时间
|
||||
OrderNum interface{} `orm:"order_num" json:"orderNum"` // 显示顺序
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Leader interface{} `orm:"leader" json:"leader"` // 负责人
|
||||
Status interface{} `orm:"status" json:"status"` // 施工类型状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 17:15:27
|
||||
// 生成路径: internal/app/system/model/entity/bus_scheduled_plan_type_detail.go
|
||||
// 生成人:gfast
|
||||
// desc:施工进度月报,年报分类
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusScheduledPlanTypeDetail is the golang structure for table bus_scheduled_plan_type_detail.
|
||||
type BusScheduledPlanTypeDetail struct {
|
||||
gmeta.Meta `orm:"table:bus_scheduled_plan_type_detail, do:true"`
|
||||
PlanTypeDetailId interface{} `orm:"plan_type_detail_id,primary" json:"planTypeDetailId"` // 施工类型id
|
||||
ParentId interface{} `orm:"parent_id" json:"parentId"` // 父文件id
|
||||
Ancestors interface{} `orm:"ancestors" json:"ancestors"` // 祖级列表
|
||||
PlanTypeName interface{} `orm:"plan_type_name" json:"planTypeName"` // 施工类型名称
|
||||
PlannedTime interface{} `orm:"planned_time" json:"plannedTime"` // 计划施工持续时间
|
||||
PlanStartTime interface{} `orm:"plan_start_time" json:"planStartTime"` // 计划工期开始时间
|
||||
PlanEndTime interface{} `orm:"plan_end_time" json:"planEndTime"` // 计划工期结束时间
|
||||
OrderNum interface{} `orm:"order_num" json:"orderNum"` // 显示顺序
|
||||
DateValue interface{} `orm:"date_value" json:"dateValue"` // 时间
|
||||
DateType interface{} `orm:"date_type" json:"dateType"` // 日期类型状态
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Leader interface{} `orm:"leader" json:"leader"` // 负责人
|
||||
Status interface{} `orm:"status" json:"status"` // 施工类型状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
38
internal/app/system/model/do/bus_scheduled_weekly.go
Normal file
38
internal/app/system/model/do/bus_scheduled_weekly.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-02 15:28:49
|
||||
// 生成路径: internal/app/system/model/entity/bus_scheduled_weekly.go
|
||||
// 生成人:gfast
|
||||
// desc:周报
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusScheduledWeekly is the golang structure for table bus_scheduled_weekly.
|
||||
type BusScheduledWeekly struct {
|
||||
gmeta.Meta `orm:"table:bus_scheduled_weekly, do:true"`
|
||||
PlanWeeklyId interface{} `orm:"plan_weekly_id,primary" json:"planWeeklyId"` // 施工周报id
|
||||
PlanPeriodId interface{} `orm:"plan_period_id" json:"planPeriodId"` // 施工分类id
|
||||
WeeklyPlanName interface{} `orm:"weekly_plan_name" json:"weeklyPlanName"` // 施工分类下第几周
|
||||
WeeklyStartTime interface{} `orm:"weekly_start_time" json:"weeklyStartTime"` // 周开始时间
|
||||
WeeklyEndTime interface{} `orm:"weekly_end_time" json:"weeklyEndTime"` // 周完成时间
|
||||
WeeklyPlanFinish interface{} `orm:"weekly_plan_finish" json:"weeklyPlanFinish"` // 周计划完成量
|
||||
WeeklyRealityFinish interface{} `orm:"weekly_reality_finish" json:"weeklyRealityFinish"` // 周实际完成量
|
||||
WeekyAccumulativeFinish interface{} `orm:"weeky_accumulative_finish" json:"weekyAccumulativeFinish"` // 累计完成量
|
||||
WeekyAccumulativeTotal interface{} `orm:"weeky_accumulative_total" json:"weekyAccumulativeTotal"` // 总量
|
||||
CompletionRate interface{} `orm:"completion_rate" json:"completionRate"` // 累计完成比例
|
||||
Leader interface{} `orm:"leader" json:"leader"` // 负责人
|
||||
Status interface{} `orm:"status" json:"status"` // 施工类型状态
|
||||
WeeklyDocumentUrl interface{} `orm:"weekly_document_url" json:"weeklyDocumentUrl"` // 施工周报文档地址
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-02 15:21:55
|
||||
// 生成路径: internal/app/system/model/entity/bus_scheduled_weekly_photovoltaic.go
|
||||
// 生成人:gfast
|
||||
// desc:周报-光伏板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusScheduledWeeklyPhotovoltaic is the golang structure for table bus_scheduled_weekly_photovoltaic.
|
||||
type BusScheduledWeeklyPhotovoltaic struct {
|
||||
gmeta.Meta `orm:"table:bus_scheduled_weekly_photovoltaic, do:true"`
|
||||
PhotovoltaicId interface{} `orm:"photovoltaic_id,primary" json:"photovoltaicId"` // 序号
|
||||
PlanWeeklyId interface{} `orm:"plan_weekly_id" json:"planWeeklyId"` // 周报id
|
||||
PhotovoltaicNumber interface{} `orm:"photovoltaic_number" json:"photovoltaicNumber"` // 光伏板编号
|
||||
PhotovoltaicNumberGis interface{} `orm:"photovoltaic_number_gis" json:"photovoltaicNumberGis"` // gis地图中使用的真实的光伏板id
|
||||
InstallNot interface{} `orm:"install_not" json:"installNot"` // 是否安装
|
||||
InstallCreateTime interface{} `orm:"install_createTime" json:"installCreateTime"` // 安装时间
|
||||
Status interface{} `orm:"status" json:"status"` // 光伏板状态
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // '项目id'
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
38
internal/app/system/model/do/bus_standing_book.go
Normal file
38
internal/app/system/model/do/bus_standing_book.go
Normal file
@ -0,0 +1,38 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-29 11:36:04
|
||||
// 生成路径: internal/app/system/model/entity/bus_standing_book.go
|
||||
// 生成人:gfast
|
||||
// desc:台账
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusStandingBook is the golang structure for table bus_standing_book.
|
||||
type BusStandingBook struct {
|
||||
gmeta.Meta `orm:"table:bus_standing_book, do:true"`
|
||||
StandingBookId interface{} `orm:"standing_book_id,primary" json:"standingBookId"` // 序号
|
||||
EquipmentMaterialsId interface{} `orm:"equipment_materials_id" json:"equipmentMaterialsId"` // 材料/设备
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
StandingBookType interface{} `orm:"standing_book_type" json:"standingBookType"` // 台账类型
|
||||
ApproachTime interface{} `orm:"approach_time" json:"approachTime"` // 进场时间
|
||||
ClaimingDate interface{} `orm:"claiming_date" json:"claimingDate"` // 领用时间
|
||||
Quantity interface{} `orm:"quantity" json:"quantity"` // 数量
|
||||
Gross interface{} `orm:"gross" json:"gross"` // 总量
|
||||
Status interface{} `orm:"status" json:"status"` // 状态
|
||||
SignerRecipient interface{} `orm:"signer_recipient" json:"signerRecipient"` // 签收领用人
|
||||
RecipientUnit interface{} `orm:"recipient_unit" json:"recipientUnit"` // 使用单位
|
||||
StoreIssue interface{} `orm:"store_issue" json:"storeIssue"` // 发料人
|
||||
ProcessMode interface{} `orm:"process_mode" json:"processMode"` // 处理方式
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
33
internal/app/system/model/do/bus_tour.go
Normal file
33
internal/app/system/model/do/bus_tour.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-10-10 12:11:05
|
||||
// 生成路径: internal/app/system/model/entity/bus_tour.go
|
||||
// 生成人:gfast
|
||||
// desc:煤科巡视-故障记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusTour is the golang structure for table bus_tour.
|
||||
type BusTour struct {
|
||||
gmeta.Meta `orm:"table:bus_tour, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
ProjectId interface{} `orm:"project_id,primary" json:"projectId"` // 项目iD
|
||||
TourCategory interface{} `orm:"tour_category" json:"tourCategory"` // 类别字典
|
||||
TourType interface{} `orm:"tour_type" json:"tourType"` // 类型字典
|
||||
Picture interface{} `orm:"picture" json:"picture"` // 图片路径
|
||||
Num interface{} `orm:"num" json:"num"` // 违规数量
|
||||
Describe interface{} `orm:"describe" json:"describe"` // 故障描述
|
||||
TableName interface{} `orm:"table_name" json:"tableName"` // 表名
|
||||
TableId interface{} `orm:"table_id" json:"tableId"` // 表id
|
||||
SxtName interface{} `orm:"sxt_name" json:"sxtName"` // 表id
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
28
internal/app/system/model/do/bus_type_of_wage.go
Normal file
28
internal/app/system/model/do/bus_type_of_wage.go
Normal file
@ -0,0 +1,28 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-05 10:07:11
|
||||
// 生成路径: internal/app/system/model/entity/bus_type_of_wage.go
|
||||
// 生成人:gfast
|
||||
// desc:工种薪水
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusTypeOfWage is the golang structure for table bus_type_of_wage.
|
||||
type BusTypeOfWage struct {
|
||||
gmeta.Meta `orm:"table:bus_type_of_wage, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
TypeOfWork interface{} `orm:"type_of_work" json:"typeOfWork"` // 工种字典
|
||||
Standard interface{} `orm:"standard" json:"standard"` // 工资标准
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
32
internal/app/system/model/do/bus_violation_level.go
Normal file
32
internal/app/system/model/do/bus_violation_level.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-11-20 11:18:36
|
||||
// 生成路径: internal/app/system/model/entity/bus_violation_level.go
|
||||
// 生成人:gfast
|
||||
// desc:违章等级
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusViolationLevel is the golang structure for table bus_violation_level.
|
||||
type BusViolationLevel struct {
|
||||
gmeta.Meta `orm:"table:bus_violation_level, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
Grade interface{} `orm:"grade" json:"grade"` // 违章等级
|
||||
Color interface{} `orm:"color" json:"color"` // 颜色
|
||||
TourType interface{} `orm:"tour_type" json:"tourType"` // 违章类型
|
||||
Risx interface{} `orm:"risx" json:"risx"` // 风险类型
|
||||
WxOrPc interface{} `orm:"wx_or_pc" json:"wxOrPc"` // 来源:1pc 2小程序
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
48
internal/app/system/model/do/bus_violation_record.go
Normal file
48
internal/app/system/model/do/bus_violation_record.go
Normal file
@ -0,0 +1,48 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-11-20 11:18:37
|
||||
// 生成路径: internal/app/system/model/entity/bus_violation_record.go
|
||||
// 生成人:gfast
|
||||
// desc:违章记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusViolationRecord is the golang structure for table bus_violation_record.
|
||||
type BusViolationRecord struct {
|
||||
gmeta.Meta `orm:"table:bus_violation_record, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
LevelId interface{} `orm:"level_id" json:"levelId"` // 违章等级主键ID
|
||||
TourType interface{} `orm:"tour_type" json:"tourType"` // 违章类型
|
||||
TourId interface{} `orm:"tour_id" json:"tourId"` // 违章详情(关联bus_tour)
|
||||
Level interface{} `orm:"level" json:"level"` // 违章等级
|
||||
DataSource interface{} `orm:"data_source" json:"dataSource"` // 数据来源
|
||||
Status interface{} `orm:"status" json:"status"` // 工单状态(1通知 2整改 3复查)
|
||||
ProcessingPeriod interface{} `orm:"processing_period" json:"processingPeriod"` // 处理期限(要求)
|
||||
ProcessingPeriodPractical interface{} `orm:"processing_period_practical" json:"processingPeriodPractical"` // 处理期限(实际)
|
||||
SelectPeople interface{} `orm:"select_people" json:"selectPeople"` // 选择人(后台用户ID)
|
||||
Openid interface{} `orm:"openid" json:"openid"` // 处理人
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Remark interface{} `orm:"remark" json:"remark"`
|
||||
Review interface{} `orm:"review" json:"review"`
|
||||
ReviewType interface{} `orm:"review_type" json:"reviewType"`
|
||||
SxtName interface{} `orm:"sxt_name" json:"sxtName"`
|
||||
//Picture interface{} `orm:"picture" json:"picture"` // 单图
|
||||
//WxOrPc interface{} `orm:"wx_or_pc" json:"wxOrPc"` // 来源:1pc 2小程序
|
||||
//IsDispose interface{} `orm:"is_dispose" json:"isDispose"` // 是否处理(1待处理 2已处理)
|
||||
//LaborDate string `orm:"labor_date" json:"laborDate"` // 人工日期
|
||||
RectificationTime *gtime.Time `orm:"rectification_time" json:"rectificationTime"` // 整改时间
|
||||
ReviewTime *gtime.Time `orm:"review_time" json:"reviewTime"` // 复查时间
|
||||
|
||||
}
|
||||
32
internal/app/system/model/do/bus_weekly_security_report.go
Normal file
32
internal/app/system/model/do/bus_weekly_security_report.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-04-02 18:03:23
|
||||
// 生成路径: internal/app/system/model/entity/bus_weekly_security_report.go
|
||||
// 生成人:gfast
|
||||
// desc:安全周期
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// BusWeeklySecurityReport is the golang structure for table bus_weekly_security_report.
|
||||
type BusWeeklySecurityReport struct {
|
||||
gmeta.Meta `orm:"table:bus_weekly_security_report, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
ProjectName interface{} `orm:"project_name" json:"projectName"` // 项目名称
|
||||
Week interface{} `orm:"week" json:"week"` // 周期
|
||||
Scope interface{} `orm:"scope" json:"scope"` // 周期范围
|
||||
ScopeEnd interface{} `orm:"scope_end" json:"scopeEnd"` // 周期范围结束
|
||||
Path interface{} `orm:"path" json:"path"` // 文件位置
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
22
internal/app/system/model/do/comment_list.go
Normal file
22
internal/app/system/model/do/comment_list.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// CommentList is the golang structure of table comment_list for DAO operations like Where/Data.
|
||||
type CommentList struct {
|
||||
g.Meta `orm:"table:comment_list, do:true"`
|
||||
Id interface{} //
|
||||
ProjectId interface{} // 项目ID
|
||||
Receiver interface{} // 消息接收者
|
||||
Content interface{} // 评论内容
|
||||
CreatedAt *gtime.Time //
|
||||
Sender interface{} // 消息的发起人
|
||||
IsRead interface{} // 0 未读 | 1 已读
|
||||
}
|
||||
20
internal/app/system/model/do/comments.go
Normal file
20
internal/app/system/model/do/comments.go
Normal file
@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Comments is the golang structure of table comments for DAO operations like Where/Data.
|
||||
type Comments struct {
|
||||
g.Meta `orm:"table:comments, do:true"`
|
||||
Id interface{} // 评论的主键
|
||||
NotificationId interface{} // 关联的通知ID
|
||||
CommentText interface{} // 评论内容
|
||||
CommentId interface{} // 用户ID
|
||||
CreatedAt *gtime.Time //
|
||||
}
|
||||
37
internal/app/system/model/do/construction_details.go
Normal file
37
internal/app/system/model/do/construction_details.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-13 18:10:56
|
||||
// 生成路径: internal/app/system/model/entity/construction_details.go
|
||||
// 生成人:gfast
|
||||
// desc:施工类别详情
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ConstructionDetails is the golang structure for table construction_details.
|
||||
type ConstructionDetails struct {
|
||||
gmeta.Meta `orm:"table:construction_details, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` //
|
||||
UpdatedBy interface{} `orm:"updated_by" json:"updatedBy"` //
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` //
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` //
|
||||
Name interface{} `orm:"name" json:"name"` // 施工名称
|
||||
Types interface{} `orm:"types" json:"types"` // 施工类别
|
||||
Total interface{} `orm:"total" json:"total"` // 总量
|
||||
ConstructionId interface{} `orm:"construction_id" json:"constructionId"` // 施工id(父级id)
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
IsPercentage interface{} `orm:"isPercentage" json:"isPercentage"` // 数据类型是否为百分比
|
||||
StartTime *gtime.Time `orm:"start_time" json:"startTime"` // 开始时间
|
||||
EndTime *gtime.Time `orm:"end_time" json:"endTime"` // 结束时间
|
||||
Completed interface{} `orm:"completed" json:"completed"` // 完成量
|
||||
Selectable interface{} `orm:"selectable" json:"selectable"` // 可选择余量
|
||||
Overall interface{} `orm:"overall" json:"overall"` // 总余量
|
||||
}
|
||||
33
internal/app/system/model/do/construction_project.go
Normal file
33
internal/app/system/model/do/construction_project.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-13 17:36:45
|
||||
// 生成路径: internal/app/system/model/entity/construction_project.go
|
||||
// 生成人:gfast
|
||||
// desc:施工项目
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ConstructionProject is the golang structure for table construction_project.
|
||||
type ConstructionProject struct {
|
||||
gmeta.Meta `orm:"table:construction_project, do:true"`
|
||||
ConstructionId interface{} `orm:"construction_id,primary" json:"constructionId"` // 主键id
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` //
|
||||
UpdatedBy interface{} `orm:"updated_by" json:"updatedBy"` //
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` //
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` //
|
||||
FangzhenId interface{} `orm:"fangzhen_id" json:"fangzhenId"` // 方阵id
|
||||
ConstructionName interface{} `orm:"construction_name" json:"constructionName"` // 施工名称
|
||||
Total interface{} `orm:"total" json:"total"` // 总量
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
IsPercentage interface{} `orm:"isPercentage" json:"isPercentage"` // 数据类型是否为百分比
|
||||
EndTime *gtime.Time `orm:"end_time" json:"endTime"` // 结束时间
|
||||
StartTime *gtime.Time `orm:"start_time" json:"startTime"` // 开始时间
|
||||
}
|
||||
26
internal/app/system/model/do/device.go
Normal file
26
internal/app/system/model/do/device.go
Normal file
@ -0,0 +1,26 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-11-24 09:57:07
|
||||
// 生成路径: internal/app/system/model/entity/device.go
|
||||
// 生成人:gfast
|
||||
// desc:安全帽设备(java)
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// Device is the golang structure for table device.
|
||||
type Device struct {
|
||||
gmeta.Meta `orm:"table:device, do:true"`
|
||||
DevNum interface{} `orm:"devNum,primary" json:"devNum"` // 设备编号
|
||||
DevName interface{} `orm:"devName" json:"devName"` // 设备名称
|
||||
Status interface{} `orm:"status" json:"status"` // 状态
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
CreateTime *gtime.Time `orm:"createTime" json:"createTime"` // 添加时间
|
||||
UpdateTime *gtime.Time `orm:"updateTime" json:"updateTime"` // 修改时间
|
||||
}
|
||||
21
internal/app/system/model/do/device_preset.go
Normal file
21
internal/app/system/model/do/device_preset.go
Normal file
@ -0,0 +1,21 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// DevicePreset is the golang structure of table device_preset for DAO operations like Where/Data.
|
||||
type DevicePreset struct {
|
||||
g.Meta `orm:"table:device_preset, do:true"`
|
||||
Id interface{} // 主键ID
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
DeviceSerial interface{} // 设备序列号
|
||||
ChannelNo interface{} // 通道号
|
||||
Index interface{} // 预置点序号
|
||||
Name interface{} // 预置点
|
||||
}
|
||||
30
internal/app/system/model/do/document.go
Normal file
30
internal/app/system/model/do/document.go
Normal file
@ -0,0 +1,30 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-16 10:32:04
|
||||
// 生成路径: internal/app/system/model/entity/document.go
|
||||
// 生成人:gfast
|
||||
// desc:母板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// Document is the golang structure for table document.
|
||||
type Document struct {
|
||||
gmeta.Meta `orm:"table:document, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板路径
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
33
internal/app/system/model/do/document_completion.go
Normal file
33
internal/app/system/model/do/document_completion.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-15 10:25:00
|
||||
// 生成路径: internal/app/system/model/entity/document_completion.go
|
||||
// 生成人:gfast
|
||||
// desc:竣工图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// DocumentCompletion is the golang structure for table document_completion.
|
||||
type DocumentCompletion struct {
|
||||
gmeta.Meta `orm:"table:document_completion, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
IdStr interface{} `orm:"id_str" json:"idStr"` // 模板id
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板文件名
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
Suffix interface{} `orm:"suffix" json:"suffix"` // 后缀
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
32
internal/app/system/model/do/document_data.go
Normal file
32
internal/app/system/model/do/document_data.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-12-27 09:30:04
|
||||
// 生成路径: internal/app/system/model/entity/document_data.go
|
||||
// 生成人:gfast
|
||||
// desc:工程资料>资料
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// DocumentData is the golang structure for table document_data.
|
||||
type DocumentData struct {
|
||||
gmeta.Meta `orm:"table:document_data, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
IdStr interface{} `orm:"id_str" json:"idStr"` // 模板id
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板文件名
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
Suffix interface{} `orm:"suffix" json:"suffix"` // 后缀
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
33
internal/app/system/model/do/document_production_drawing.go
Normal file
33
internal/app/system/model/do/document_production_drawing.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-15 10:24:54
|
||||
// 生成路径: internal/app/system/model/entity/document_production_drawing.go
|
||||
// 生成人:gfast
|
||||
// desc:施工图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// DocumentProductionDrawing is the golang structure for table document_production_drawing.
|
||||
type DocumentProductionDrawing struct {
|
||||
gmeta.Meta `orm:"table:document_production_drawing, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
IdStr interface{} `orm:"id_str" json:"idStr"` // 模板id
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板文件名
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
Suffix interface{} `orm:"suffix" json:"suffix"` // 后缀
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
33
internal/app/system/model/do/document_project.go
Normal file
33
internal/app/system/model/do/document_project.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-16 10:32:03
|
||||
// 生成路径: internal/app/system/model/entity/document_project.go
|
||||
// 生成人:gfast
|
||||
// desc:项目模板
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// DocumentProject is the golang structure for table document_project.
|
||||
type DocumentProject struct {
|
||||
gmeta.Meta `orm:"table:document_project, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
IdStr interface{} `orm:"id_str,primary" json:"idStr"` // 父级(0代表顶级)
|
||||
Pid interface{} `orm:"pid,primary" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name,primary" json:"name"` // 模板名称
|
||||
FilePath interface{} `orm:"file_path,primary" json:"filePath"` // 模板路径
|
||||
Type interface{} `orm:"type,primary" json:"type"` // 类型(1文件-2文件夹)
|
||||
Json interface{} `orm:"json,primary" json:"json"` // 保存后的json文件名
|
||||
ProjectId interface{} `orm:"project_id,primary" json:"projectId"` // 项目id
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
33
internal/app/system/model/do/document_quality_meeting.go
Normal file
33
internal/app/system/model/do/document_quality_meeting.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-25 16:43:56
|
||||
// 生成路径: internal/app/system/model/entity/document_quality_meeting.go
|
||||
// 生成人:gfast
|
||||
// desc:质量会议
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// DocumentQualityMeeting is the golang structure for table document_quality_meeting.
|
||||
type DocumentQualityMeeting struct {
|
||||
gmeta.Meta `orm:"table:document_quality_meeting, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
IdStr interface{} `orm:"id_str" json:"idStr"` // 模板id
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板文件名
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
Suffix interface{} `orm:"suffix" json:"suffix"` // 后缀
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
33
internal/app/system/model/do/document_report.go
Normal file
33
internal/app/system/model/do/document_report.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-03-15 10:24:21
|
||||
// 生成路径: internal/app/system/model/entity/document_report.go
|
||||
// 生成人:gfast
|
||||
// desc:科研及专题报告
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// DocumentReport is the golang structure for table document_report.
|
||||
type DocumentReport struct {
|
||||
gmeta.Meta `orm:"table:document_report, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
IdStr interface{} `orm:"id_str" json:"idStr"` // 模板id
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板文件名
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
Suffix interface{} `orm:"suffix" json:"suffix"` // 后缀
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
33
internal/app/system/model/do/document_safety_meeting.go
Normal file
33
internal/app/system/model/do/document_safety_meeting.go
Normal file
@ -0,0 +1,33 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-04-09 11:40:21
|
||||
// 生成路径: internal/app/system/model/entity/document_safety_meeting.go
|
||||
// 生成人:gfast
|
||||
// desc:安全会议
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// DocumentSafetyMeeting is the golang structure for table document_safety_meeting.
|
||||
type DocumentSafetyMeeting struct {
|
||||
gmeta.Meta `orm:"table:document_safety_meeting, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
IdStr interface{} `orm:"id_str" json:"idStr"` // 模板id
|
||||
Pid interface{} `orm:"pid" json:"pid"` // 父级(0代表顶级)
|
||||
Name interface{} `orm:"name" json:"name"` // 模板名称
|
||||
FilenPath interface{} `orm:"filen_path" json:"filenPath"` // 模板文件名
|
||||
Type interface{} `orm:"type" json:"type"` // 类型(1文件-2文件夹)
|
||||
Suffix interface{} `orm:"suffix" json:"suffix"` // 后缀
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
39
internal/app/system/model/do/equipment.go
Normal file
39
internal/app/system/model/do/equipment.go
Normal file
@ -0,0 +1,39 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Equipment is the golang structure of table equipment for DAO operations like Where/Data.
|
||||
type Equipment struct {
|
||||
g.Meta `orm:"table:equipment, do:true"`
|
||||
PlantId interface{} // 所属电站ID
|
||||
DivertorId interface{} // 分流器ID
|
||||
DivertorName interface{} // 分流器名称
|
||||
EquipmentName interface{} // 设备名称
|
||||
EquipmentPn interface{} // 设备型号
|
||||
EquipmentSn interface{} // 设备序列号
|
||||
Id interface{} // 设备ID
|
||||
Kwp interface{} // 总容量kwp
|
||||
MonKwh interface{} // 当月发电量
|
||||
NowKw interface{} // 实时功率
|
||||
ParamDcacCode interface{} // DC/AC参数代码
|
||||
ParamDcdcCode interface{} // DC/DC参数代码
|
||||
PowerPlantId interface{} // 电站ID
|
||||
PowerPlantName interface{} // 电站名称
|
||||
RatedPower interface{} // 额定功率
|
||||
SoftDcacCode interface{} // 软件DC/AC代码
|
||||
SoftDcdcCode interface{} // 软件DC/DC代码
|
||||
Status interface{} // 状态
|
||||
SumKwh interface{} // 总发电量
|
||||
TodayKwh interface{} // 当日发电量
|
||||
UpdateTime *gtime.Time // 更新时间
|
||||
UserId interface{} // 用户ID
|
||||
UserName interface{} // 用户名
|
||||
YearKwh interface{} // 年发电量
|
||||
}
|
||||
40
internal/app/system/model/do/manage_airline.go
Normal file
40
internal/app/system/model/do/manage_airline.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-12-11 16:10:19
|
||||
// 生成路径: internal/app/system/model/entity/manage_airline.go
|
||||
// 生成人:gfast
|
||||
// desc:航线
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageAirline is the golang structure for table manage_airline.
|
||||
type ManageAirline struct {
|
||||
gmeta.Meta `orm:"table:manage_airline, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
StrId interface{} `orm:"str_id" json:"strId"` // 航线ID
|
||||
Speed interface{} `orm:"speed" json:"speed"` // 航线速度
|
||||
Height interface{} `orm:"height" json:"height"` // 航线高度
|
||||
Gap interface{} `orm:"gap" json:"gap"` // 航线间距
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
AirLine interface{} `orm:"air_line" json:"airLine"` // 航线名称
|
||||
Positions interface{} `orm:"positions" json:"positions"` // 航线坐标
|
||||
FilePath interface{} `orm:"file_path" json:"filePath"` // 航线文件
|
||||
Fingerprint interface{} `orm:"fingerprint" json:"fingerprint"` // md5签名
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
TakeOffPoint interface{} `orm:"take_off_point" json:"takeOffPoint"` // 起飞点
|
||||
TakeOffSecurityHeight interface{} `orm:"take_off_security_height" json:"takeOffSecurityHeight"` // 安全起飞高度
|
||||
GlobalTransitionalSpeed interface{} `orm:"global_transitional_speed" json:"globalTransitionalSpeed"` // 飞向首航点速度
|
||||
MqClientId interface{} `orm:"mqClientId" json:"mq_client_id"` // 关联机场
|
||||
}
|
||||
45
internal/app/system/model/do/manage_device.go
Normal file
45
internal/app/system/model/do/manage_device.go
Normal file
@ -0,0 +1,45 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-11-14 10:53:21
|
||||
// 生成路径: internal/app/system/model/entity/manage_device.go
|
||||
// 生成人:gfast
|
||||
// desc:设备信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageDevice is the golang structure for table manage_device.
|
||||
type ManageDevice struct {
|
||||
gmeta.Meta `orm:"table:manage_device, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 自增ID
|
||||
DeviceSn interface{} `orm:"device_sn" json:"deviceSn"` // 对接站点、无人机或遥控器的序列号
|
||||
DeviceName interface{} `orm:"device_name" json:"deviceName"` // 设备的型号。该参数对应设备字典表中的设备名称
|
||||
MqClientId interface{} `orm:"mq_client_id" json:"mqClientId"` // 客户端id
|
||||
UserId interface{} `orm:"user_id" json:"userId"` // 设备绑定时使用的账号
|
||||
Nickname interface{} `orm:"nickname" json:"nickname"` // 设备的自定义名称
|
||||
WorkspaceId interface{} `orm:"workspace_id" json:"workspaceId"` // 当前设备所属的工作区
|
||||
DeviceType interface{} `orm:"device_type" json:"deviceType"` // 该参数对应设备字典表中的设备类型
|
||||
DictionaryId interface{} `orm:"dictionary_id" json:"dictionaryId"` // 该参数对应设备字典表中的设备类型
|
||||
SubType interface{} `orm:"sub_type" json:"subType"` // 该参数对应设备字典表中的子类型
|
||||
Domain interface{} `orm:"domain" json:"domain"` // 该参数对应设备字典表中的域
|
||||
FirmwareVersion interface{} `orm:"firmware_version" json:"firmwareVersion"` // 设备的固件版本
|
||||
CompatibleStatus interface{} `orm:"compatible_status" json:"compatibleStatus"` // 1: 一致;0: 不一致;固件版本是否一致
|
||||
Version interface{} `orm:"version" json:"version"` // 协议版本。该字段目前没有用处。
|
||||
DeviceIndex interface{} `orm:"device_index" json:"deviceIndex"` // 无人机的控制,A控制或B控制
|
||||
ChildSn interface{} `orm:"child_sn" json:"childSn"` // 由网关控制的设备
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
BoundTime *gtime.Time `orm:"bound_time" json:"boundTime"` // 设备绑定工作区的时间
|
||||
BoundStatus interface{} `orm:"bound_status" json:"boundStatus"` // 设备绑定工作区的状态。1: 已绑定;0: 未绑定
|
||||
LoginTime *gtime.Time `orm:"login_time" json:"loginTime"` // 设备的上次登录时间
|
||||
DeviceDesc interface{} `orm:"device_desc" json:"deviceDesc"` // 设备描述
|
||||
UrlNormal interface{} `orm:"url_normal" json:"urlNormal"` // 遥控器上显示的图标
|
||||
UrlSelect interface{} `orm:"url_select" json:"urlSelect"` // 选中遥控器时显示的图标
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
25
internal/app/system/model/do/manage_operation_log.go
Normal file
25
internal/app/system/model/do/manage_operation_log.go
Normal file
@ -0,0 +1,25 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-06-21 15:23:29
|
||||
// 生成路径: internal/app/system/model/entity/manage_operation_log.go
|
||||
// 生成人:gfast
|
||||
// desc:无人机指令日志
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageOperationLog is the golang structure for table manage_operation_log.
|
||||
type ManageOperationLog struct {
|
||||
gmeta.Meta `orm:"table:manage_operation_log, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
Sn interface{} `orm:"sn" json:"sn"` // sn
|
||||
Method interface{} `orm:"method" json:"method"` // 方法名
|
||||
Direction interface{} `orm:"direction" json:"direction"` // 上发/下发命令
|
||||
Code interface{} `orm:"code" json:"code"` // 状态码
|
||||
Operator interface{} `orm:"operator" json:"operator"` // 操作人ID(默认为0表示系统操作)
|
||||
}
|
||||
40
internal/app/system/model/do/manage_task.go
Normal file
40
internal/app/system/model/do/manage_task.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-12-12 15:21:22
|
||||
// 生成路径: internal/app/system/model/entity/manage_task.go
|
||||
// 生成人:gfast
|
||||
// desc:航线任务下发
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageTask is the golang structure for table manage_task.
|
||||
type ManageTask struct {
|
||||
gmeta.Meta `orm:"table:manage_task, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
TaskName interface{} `orm:"task_name" json:"taskName"` // 任务名称
|
||||
FlightId interface{} `orm:"flight_id" json:"flightId"` // 计划ID(uuid)
|
||||
TaskType interface{} `orm:"task_type" json:"taskType"` // 任务类型("0":"立即任务","1":"定时任务","2":"条件任务")
|
||||
ExecuteTime interface{} `orm:"execute_time" json:"executeTime"` // 任务开始执行时间毫秒时间戳
|
||||
WaylineType interface{} `orm:"wayline_type" json:"waylineType"` // 0普通航线
|
||||
Airport interface{} `orm:"airport" json:"airport"` // 关联机场
|
||||
AirLine interface{} `orm:"air_line" json:"airLine"` // 关联航线
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 关联项目
|
||||
RthAltitude interface{} `orm:"rth_altitude" json:"rthAltitude"` // 返航高度
|
||||
RthMode interface{} `orm:"rth_mode" json:"rthMode"` // (默认为0)"0":"智能高度","1":"设定高度"
|
||||
OutOfControlAction interface{} `orm:"out_of_control_action" json:"outOfControlAction"` // (默认为0)"0":"返航","1":"悬停","2":"降落"
|
||||
ExitWaylineWhenRcLost interface{} `orm:"exit_wayline_when_rc_lost" json:"exitWaylineWhenRcLost"` // (默认为0)"0":"继续执行航线任务","1":"退出航线任务,执行遥控器失控动作"
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
MqClientId interface{} `orm:"mqClientId" json:"mq_client_id"` // 关联机场
|
||||
}
|
||||
24
internal/app/system/model/do/manage_task_cron.go
Normal file
24
internal/app/system/model/do/manage_task_cron.go
Normal file
@ -0,0 +1,24 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-06-04 14:33:05
|
||||
// 生成路径: internal/app/system/model/entity/manage_task_cron.go
|
||||
// 生成人:gfast
|
||||
// desc:航线任务定时飞行
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageTaskCron is the golang structure for table manage_task_cron.
|
||||
type ManageTaskCron struct {
|
||||
gmeta.Meta `orm:"table:manage_task_cron, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
MqClientId interface{} `orm:"mq_client_id" json:"mqClientId"` // sn
|
||||
TaskId interface{} `orm:"task_id" json:"taskId"` // 任务模板ID
|
||||
Cron interface{} `orm:"cron" json:"cron"` // 表达式
|
||||
CronId interface{} `orm:"cron_id" json:"cronId"` // cronID
|
||||
}
|
||||
35
internal/app/system/model/do/manage_task_record.go
Normal file
35
internal/app/system/model/do/manage_task_record.go
Normal file
@ -0,0 +1,35 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-12-12 17:56:19
|
||||
// 生成路径: internal/app/system/model/entity/manage_task_record.go
|
||||
// 生成人:gfast
|
||||
// desc:航线任务下发-记录
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageTaskRecord is the golang structure for table manage_task_record.
|
||||
type ManageTaskRecord struct {
|
||||
gmeta.Meta `orm:"table:manage_task_record, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
TaskId interface{} `orm:"task_id" json:"taskId"` // 任务主键ID
|
||||
TaskType interface{} `orm:"task_type" json:"taskType"` // 任务类型("0":"立即任务","1":"定时任务","2":"条件任务")
|
||||
ExecuteTime interface{} `orm:"execute_time" json:"executeTime"` // 任务开始执行时间(毫秒)
|
||||
CancelTime interface{} `orm:"cancel_time" json:"cancelTime"` // 任务取消时间戳
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
Suspend interface{} `orm:"suspend" json:"suspend"` // 航线暂停时间戳
|
||||
Recover interface{} `orm:"recover" json:"recover"` // 航线恢复时间戳
|
||||
CourseReversal interface{} `orm:"course_reversal" json:"courseReversal"` // 返航时间戳
|
||||
CancelHoming interface{} `orm:"cancel_homing" json:"cancelHoming"` // 取消返航时间戳
|
||||
}
|
||||
34
internal/app/system/model/do/manage_task_record_resource.go
Normal file
34
internal/app/system/model/do/manage_task_record_resource.go
Normal file
@ -0,0 +1,34 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-05-30 17:07:01
|
||||
// 生成路径: internal/app/system/model/entity/manage_task_record_resource.go
|
||||
// 生成人:gfast
|
||||
// desc:下发记录回传的媒体文件
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageTaskRecordResource is the golang structure for table manage_task_record_resource.
|
||||
type ManageTaskRecordResource struct {
|
||||
gmeta.Meta `orm:"table:manage_task_record_resource, do:true"`
|
||||
FlightId interface{} `orm:"flight_id,primary" json:"flightId"` // 计划ID
|
||||
FileName interface{} `orm:"file_name" json:"fileName"` // 文件名称
|
||||
ObjectKey interface{} `orm:"object_key" json:"objectKey"` // 文件在对象存储桶的 Key
|
||||
Path interface{} `orm:"path" json:"path"` // 文件的业务路径
|
||||
DroneModelKey interface{} `orm:"drone_model_key" json:"droneModelKey"` // 飞行器产品枚举值
|
||||
PayloadModelKey interface{} `orm:"payload_model_key" json:"payloadModelKey"` // 负载产品枚举值
|
||||
AbsoluteAltitude interface{} `orm:"absolute_altitude" json:"absoluteAltitude"` // 拍摄绝对高度
|
||||
RelativeAltitude interface{} `orm:"relative_altitude" json:"relativeAltitude"` // 拍摄相对高度
|
||||
CreateTime *gtime.Time `orm:"create_time" json:"createTime"` // 媒体拍摄时间
|
||||
ShootPosition interface{} `orm:"shoot_position" json:"shootPosition"` // 拍摄位置
|
||||
Lat interface{} `orm:"lat" json:"lat"` // 拍摄位置纬度
|
||||
Lng interface{} `orm:"lng" json:"lng"` // 拍摄位置经度
|
||||
Img interface{} `orm:"img" json:"img"` // 图片位置
|
||||
ImgSize interface{} `orm:"img_size" json:"imgSize"` // 图片大小
|
||||
}
|
||||
20
internal/app/system/model/do/manage_task_result.go
Normal file
20
internal/app/system/model/do/manage_task_result.go
Normal file
@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// ManageTaskResult is the golang structure of table manage_task_result for DAO operations like Where/Data.
|
||||
type ManageTaskResult struct {
|
||||
g.Meta `orm:"table:manage_task_result, do:true"`
|
||||
Id interface{} //
|
||||
TaskId interface{} // 航线任务ID
|
||||
PvId interface{} // pv_module 的主键
|
||||
CreatedAt *gtime.Time //
|
||||
DeletedAt *gtime.Time //
|
||||
}
|
||||
29
internal/app/system/model/do/manage_workspace.go
Normal file
29
internal/app/system/model/do/manage_workspace.go
Normal file
@ -0,0 +1,29 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-11-14 10:53:20
|
||||
// 生成路径: internal/app/system/model/entity/manage_workspace.go
|
||||
// 生成人:gfast
|
||||
// desc:工作空间
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ManageWorkspace is the golang structure for table manage_workspace.
|
||||
type ManageWorkspace struct {
|
||||
gmeta.Meta `orm:"table:manage_workspace, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 自增ID
|
||||
WorkspaceId interface{} `orm:"workspace_id" json:"workspaceId"` // 工作区的UUID
|
||||
WorkspaceName interface{} `orm:"workspace_name" json:"workspaceName"` // 工作区的名称
|
||||
WorkspaceDesc interface{} `orm:"workspace_desc" json:"workspaceDesc"` // 工作区的描述
|
||||
PlatformName interface{} `orm:"platform_name" json:"platformName"` // 工作区的平台名称
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
BindCode interface{} `orm:"bind_code" json:"bindCode"` // 当停机坪连接到第三方云时,需要提供该工作区的绑定码
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
}
|
||||
32
internal/app/system/model/do/master_schedule.go
Normal file
32
internal/app/system/model/do/master_schedule.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-10-08 09:38:35
|
||||
// 生成路径: internal/app/system/model/entity/master_schedule.go
|
||||
// 生成人:gfast
|
||||
// desc:总进度计划
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// MasterSchedule is the golang structure for table master_schedule.
|
||||
type MasterSchedule struct {
|
||||
gmeta.Meta `orm:"table:master_schedule, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Name interface{} `orm:"name" json:"name"` // 工作名称
|
||||
Start interface{} `orm:"start" json:"start"` // 开始时间
|
||||
End interface{} `orm:"end" json:"end"` // 结束时间
|
||||
Content interface{} `orm:"content" json:"content"` // 备注
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
Sequence interface{} `orm:"sequence" json:"sequence"` // 顺序编号
|
||||
}
|
||||
22
internal/app/system/model/do/notification_files.go
Normal file
22
internal/app/system/model/do/notification_files.go
Normal file
@ -0,0 +1,22 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// NotificationFiles is the golang structure of table notification_files for DAO operations like Where/Data.
|
||||
type NotificationFiles struct {
|
||||
g.Meta `orm:"table:notification_files, do:true"`
|
||||
Id interface{} // 主键ID
|
||||
CreatedAt *gtime.Time //
|
||||
NotificationId interface{} // 关联的通知或新闻ID
|
||||
FileName interface{} // 文件名
|
||||
FilePath interface{} // 保存路径
|
||||
FileType interface{} // 文件类型
|
||||
FileSize interface{} // 文件大小
|
||||
}
|
||||
23
internal/app/system/model/do/notification_recipients.go
Normal file
23
internal/app/system/model/do/notification_recipients.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// NotificationRecipients is the golang structure of table notification_recipients for DAO operations like Where/Data.
|
||||
type NotificationRecipients struct {
|
||||
g.Meta `orm:"table:notification_recipients, do:true"`
|
||||
Id interface{} //
|
||||
CreatedAt *gtime.Time //
|
||||
NotificationId interface{} // 关联的通知ID
|
||||
RecipientId interface{} // 接收者ID
|
||||
RecipientRole interface{} // 接收者权限
|
||||
NotificationStatus interface{} // 0 未读 | 1 已读
|
||||
ReadTime interface{} // 消息已读时间
|
||||
IntroduceId interface{} // 关联的项目新闻ID
|
||||
}
|
||||
27
internal/app/system/model/do/notifications.go
Normal file
27
internal/app/system/model/do/notifications.go
Normal file
@ -0,0 +1,27 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Notifications is the golang structure of table notifications for DAO operations like Where/Data.
|
||||
type Notifications struct {
|
||||
g.Meta `orm:"table:notifications, do:true"`
|
||||
Id interface{} //
|
||||
CreatedAt *gtime.Time //
|
||||
NotificationText interface{} // 通知正文
|
||||
Route interface{} // 跳转的路由
|
||||
NotificationTime interface{} // 通知时间
|
||||
Initiator interface{} // 发起人
|
||||
ProjectId interface{} // 项目ID
|
||||
Positions interface{} // 通知岗位列表
|
||||
Title interface{} // 通知标题
|
||||
IsApp interface{} // 0 PC | 1 App | 2 新闻
|
||||
Files interface{} // 附件
|
||||
IntroduceId interface{} // 项目新闻的ID
|
||||
}
|
||||
37
internal/app/system/model/do/plan_daily.go
Normal file
37
internal/app/system/model/do/plan_daily.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-26 14:31:07
|
||||
// 生成路径: internal/app/system/model/entity/plan_daily.go
|
||||
// 生成人:gfast
|
||||
// desc:日报
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// PlanDaily is the golang structure for table plan_daily.
|
||||
type PlanDaily struct {
|
||||
gmeta.Meta `orm:"table:plan_daily, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
SourceId interface{} `orm:"source_id" json:"sourceId"` // 资源id
|
||||
Name interface{} `orm:"name" json:"name"` // 资源名称
|
||||
Table interface{} `orm:"table" json:"table"` // source_id的数据对应的数据表
|
||||
PlanName interface{} `orm:"plan_name" json:"planName"` // 计划名称
|
||||
PlanId interface{} `orm:"plan_id" json:"planId"` // 周id
|
||||
WeekRealityId interface{} `orm:"week_reality_id" json:"weekRealityId"` // 周主键ID
|
||||
SourceType interface{} `orm:"source_type" json:"sourceType"` // 资源类型
|
||||
Cnt interface{} `orm:"cnt" json:"cnt"` // 资源数量
|
||||
DataTime interface{} `orm:"data_time" json:"dataTime"` // 日计划时间
|
||||
Status interface{} `orm:"status" json:"status"` // 工作状态
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` //
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` //
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` //
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` //
|
||||
}
|
||||
37
internal/app/system/model/do/plan_week.go
Normal file
37
internal/app/system/model/do/plan_week.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-04 17:26:59
|
||||
// 生成路径: internal/app/system/model/entity/plan_week.go
|
||||
// 生成人:gfast
|
||||
// desc:周计划
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// PlanWeek is the golang structure for table plan_week.
|
||||
type PlanWeek struct {
|
||||
gmeta.Meta `orm:"table:plan_week, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
SourceId interface{} `orm:"source_id" json:"sourceId"` // 资源id
|
||||
Name interface{} `orm:"name" json:"name"` // 资源名称
|
||||
Start interface{} `orm:"start" json:"start"` // 开始时间
|
||||
End interface{} `orm:"end" json:"end"` // 结束时间
|
||||
PlanName interface{} `orm:"plan_name" json:"planName"` // 计划名称
|
||||
PlanId interface{} `orm:"plan_id" json:"planId"` // 周id
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` //
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` //
|
||||
CreateAt *gtime.Time `orm:"create_at" json:"createAt"` //
|
||||
UpdateAt *gtime.Time `orm:"update_at" json:"updateAt"` //
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` //
|
||||
Table interface{} `orm:"table" json:"table"` // source_id的数据对应的数据表
|
||||
Status interface{} `orm:"status" json:"status"` // 工作状态,0:未开始,1:进行中,2:已完成
|
||||
SourceType interface{} `orm:"source_type" json:"source_type"` // 资源类型
|
||||
Cnt interface{} `orm:"cnt" json:"cnt"` // 资源类型
|
||||
}
|
||||
37
internal/app/system/model/do/plan_week_reality.go
Normal file
37
internal/app/system/model/do/plan_week_reality.go
Normal file
@ -0,0 +1,37 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-08-17 17:23:07
|
||||
// 生成路径: internal/app/system/model/entity/plan_week_reality.go
|
||||
// 生成人:xyb
|
||||
// desc:实际完成的周计划
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// PlanWeekReality is the golang structure for table plan_week_reality.
|
||||
type PlanWeekReality struct {
|
||||
gmeta.Meta `orm:"table:plan_week_reality, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
SourceId interface{} `orm:"source_id" json:"sourceId"` // 资源id
|
||||
Name interface{} `orm:"name" json:"name"` // 资源名称
|
||||
Start interface{} `orm:"start" json:"start"` // 开始时间
|
||||
End interface{} `orm:"end" json:"end"` // 结束时间
|
||||
PlanName interface{} `orm:"plan_name" json:"planName"` // 计划名称
|
||||
PlanId interface{} `orm:"plan_id" json:"planId"` // 周id
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` //
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` //
|
||||
CreateAt *gtime.Time `orm:"create_at" json:"createAt"` //
|
||||
UpdateAt *gtime.Time `orm:"update_at" json:"updateAt"` //
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` //
|
||||
Table interface{} `orm:"table" json:"table"` // source_id的数据对应的数据表
|
||||
Status interface{} `orm:"status" json:"status"` // 工作状态,0:未开始,1:进行中,2:已完成
|
||||
SourceType interface{} `orm:"source_type" json:"sourceType"` // 资源类型
|
||||
Cnt interface{} `orm:"cnt" json:"cnt"` // 资源类型
|
||||
}
|
||||
55
internal/app/system/model/do/plant.go
Normal file
55
internal/app/system/model/do/plant.go
Normal file
@ -0,0 +1,55 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-04-12 10:38:43
|
||||
// 生成路径: internal/app/system/model/entity/plant.go
|
||||
// 生成人:gfast
|
||||
// desc:电站信息
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// Plant is the golang structure for table plant.
|
||||
type Plant struct {
|
||||
gmeta.Meta `orm:"table:plant, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 电站Id
|
||||
Name interface{} `orm:"name" json:"name"` // 电站名称
|
||||
Address interface{} `orm:"address" json:"address"` // 详细地址
|
||||
City interface{} `orm:"city" json:"city"` // 市
|
||||
District interface{} `orm:"district" json:"district"` // 区
|
||||
Province interface{} `orm:"province" json:"province"` // 省
|
||||
Latitude interface{} `orm:"latitude" json:"latitude"` // 纬度
|
||||
Longitude interface{} `orm:"longitude" json:"longitude"` // 经度
|
||||
Kwp interface{} `orm:"kwp" json:"kwp"` // 总容量kwp
|
||||
MonKwh interface{} `orm:"monKwh" json:"monKwh"` // 当月发电量
|
||||
NowKw interface{} `orm:"nowKw" json:"nowKw"` // 实时功率
|
||||
SumKwh interface{} `orm:"sumKwh" json:"sumKwh"` // 总发电量
|
||||
TodayKwh interface{} `orm:"todayKwh" json:"todayKwh"` // 当日发电量
|
||||
YearKwh interface{} `orm:"yearKwh" json:"yearKwh"` // 当年发电量
|
||||
NetworkTime *gtime.Time `orm:"networkTime" json:"networkTime"` // 并网日期
|
||||
UpdateTime *gtime.Time `orm:"updateTime" json:"updateTime"` // 修改时间
|
||||
CompanyId interface{} `orm:"companyId" json:"companyId"` // 渠道商Id
|
||||
CompanyName interface{} `orm:"companyName" json:"companyName"` // 渠道商名称
|
||||
OwnerId interface{} `orm:"ownerId" json:"ownerId"` // 业主Id
|
||||
OwnerName interface{} `orm:"ownerName" json:"ownerName"` // 业主姓名
|
||||
ServiceProviderName interface{} `orm:"serviceProviderName" json:"serviceProviderName"` // 安装商名称
|
||||
ServiceProviderPhone interface{} `orm:"serviceProviderPhone" json:"serviceProviderPhone"` // 安装服务商电话
|
||||
NetworkType interface{} `orm:"networkType" json:"networkType"` // 并网类型 1:全额上网 2:自发自用余电上网 3:自发自用无馈网 4:离网
|
||||
PowerPlantType interface{} `orm:"powerPlantType" json:"powerPlantType"` // 电站类型 1:家庭户用 2:工商业屋顶 3:地面电站 4:扶贫电站 5:储能电站
|
||||
Status interface{} `orm:"status" json:"status"` // 电站状态 0:未绑定 1:在线 2:停机 3:停机告警 4:运行告警 5:故障 6:离线
|
||||
PaymentType interface{} `orm:"paymentType" json:"paymentType"` // 出资方式
|
||||
PlantContact interface{} `orm:"plantContact" json:"plantContact"` // 电站联系人
|
||||
PlantContactPhone interface{} `orm:"plantContactPhone" json:"plantContactPhone"` // 电站联系人电话
|
||||
PlantImg interface{} `orm:"plantImg" json:"plantImg"` // 电站图片
|
||||
Remark interface{} `orm:"remark" json:"remark"` // 备注
|
||||
DipAngle interface{} `orm:"dipAngle" json:"dipAngle"` // 倾角度数
|
||||
OrientationAngle interface{} `orm:"orientationAngle" json:"orientationAngle"` // 方位角度数
|
||||
SubassemblyNumber interface{} `orm:"subassemblyNumber" json:"subassemblyNumber"` // 组件数量
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
}
|
||||
35
internal/app/system/model/do/project_finance.go
Normal file
35
internal/app/system/model/do/project_finance.go
Normal file
@ -0,0 +1,35 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2024-04-29 12:01:01
|
||||
// 生成路径: internal/app/system/model/entity/project_finance.go
|
||||
// 生成人:gfast
|
||||
// desc:项目财务
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// ProjectFinance is the golang structure for table project_finance.
|
||||
type ProjectFinance struct {
|
||||
gmeta.Meta `orm:"table:project_finance, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 主键
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
|
||||
ContractAmount interface{} `orm:"contract_amount" json:"contractAmount"` // 承包合同金额
|
||||
SubcontractAmount interface{} `orm:"subcontract_amount" json:"subcontractAmount"` // 分包合同金额
|
||||
AmountReceived interface{} `orm:"amount_received" json:"amountReceived"` // 已收款
|
||||
AmountPaid interface{} `orm:"amount_paid" json:"amountPaid"` // 已付款
|
||||
ExpensesReimbursed interface{} `orm:"expenses_reimbursed" json:"expensesReimbursed"` // 已费用报销
|
||||
EstimatedGrossProfit interface{} `orm:"estimated_gross_profit" json:"estimatedGrossProfit"` // 预计毛利润
|
||||
CurrentProfit interface{} `orm:"current_profit" json:"currentProfit"` // 目前利润
|
||||
CurrentRemainingFunds interface{} `orm:"current_remaining_funds" json:"currentRemainingFunds"` // 目前结余资金
|
||||
ProjectedIncreaseInRemainingFunds interface{} `orm:"projected_increase_in_remaining_funds" json:"projectedIncreaseInRemainingFunds"` // 至项目完成应增加的结余资金
|
||||
NetPresentValueOfProjectOperation interface{} `orm:"net_present_value_of_project_operation" json:"netPresentValueOfProjectOperation"` // 项目经营净现值
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 填报时间
|
||||
CreatedBy interface{} `orm:"created_by" json:"createdBy"` // 填报人
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
}
|
||||
23
internal/app/system/model/do/project_schedule.go
Normal file
23
internal/app/system/model/do/project_schedule.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// ProjectSchedule is the golang structure of table project_schedule for DAO operations like Where/Data.
|
||||
type ProjectSchedule struct {
|
||||
g.Meta `orm:"table:project_schedule, do:true"`
|
||||
Id interface{} //
|
||||
ParentId interface{} // 设施ID
|
||||
StartDate interface{} // 开始时间
|
||||
EndDate interface{} // 结束时间
|
||||
CreatedAt *gtime.Time //
|
||||
Name interface{} // 项目名
|
||||
PlaneNum interface{} // 计划持有量
|
||||
Types interface{} // 计划类型
|
||||
}
|
||||
26
internal/app/system/model/do/pv_module.go
Normal file
26
internal/app/system/model/do/pv_module.go
Normal file
@ -0,0 +1,26 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// PvModule is the golang structure of table pv_module for DAO operations like Where/Data.
|
||||
type PvModule struct {
|
||||
g.Meta `orm:"table:pv_module, do:true"`
|
||||
Id interface{} //
|
||||
FangzhenId interface{} // 方阵ID
|
||||
SubProjectid interface{} // 子项目ID
|
||||
WorkId interface{} // 工作ID
|
||||
Name interface{} // 名字
|
||||
Status interface{} // 状态 0未开始 1 进行中 2 已完成
|
||||
DoneTime interface{} // 完成时间
|
||||
Detail interface{} // 坐标详细信息
|
||||
Type interface{} // 类型
|
||||
Tilt interface{} // 标称倾角
|
||||
Azimuth interface{} // 标称方位角
|
||||
DeviceId interface{} // 设备编号
|
||||
}
|
||||
31
internal/app/system/model/do/qianqi_bubantu.go
Normal file
31
internal/app/system/model/do/qianqi_bubantu.go
Normal file
@ -0,0 +1,31 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-31 11:44:41
|
||||
// 生成路径: internal/app/system/model/entity/qianqi_bubantu.go
|
||||
// 生成人:gfast
|
||||
// desc:布板图
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// QianqiBubantu is the golang structure for table qianqi_bubantu.
|
||||
type QianqiBubantu struct {
|
||||
gmeta.Meta `orm:"table:qianqi_bubantu, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
GuangfubanId interface{} `orm:"guangfuban_id" json:"guangfubanId"` // 光伏板id
|
||||
Name interface{} `orm:"name" json:"name"` // 名称
|
||||
SourceId interface{} `orm:"source_id" json:"sourceId"` // 资源ID
|
||||
SourcePath interface{} `orm:"source_path" json:"sourcePath"` // 资源路径
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
40
internal/app/system/model/do/qianqi_camera.go
Normal file
40
internal/app/system/model/do/qianqi_camera.go
Normal file
@ -0,0 +1,40 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-09-30 22:37:34
|
||||
// 生成路径: internal/app/system/model/entity/qianqi_camera.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// QianqiCamera is the golang structure for table qianqi_camera.
|
||||
type QianqiCamera struct {
|
||||
gmeta.Meta `orm:"table:qianqi_camera, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` //
|
||||
CameraName interface{} `orm:"camera_name" json:"cameraName"` // 摄像头名称
|
||||
CameraCode interface{} `orm:"camera_code" json:"cameraCode"` // 摄像头编码
|
||||
Detail interface{} `orm:"detail" json:"detail"` // 摄像头坐标信息
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 在线情况(1、在线,0、离线),字典on_line_status
|
||||
Poster interface{} `orm:"poster" json:"poster"` // 封面图
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreateddAt *gtime.Time `orm:"createdd_at" json:"createddAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
SourceType interface{} `orm:"source_type" json:"sourceType"` //
|
||||
Serial interface{} `orm:"serial" json:"serial"` // 国标id
|
||||
Code interface{} `orm:"code" json:"code"` // 通道号
|
||||
Degree interface{} `orm:"degree" json:"degree"` // 旋转值
|
||||
Flv interface{} `orm:"flv" json:"flv"` // flv地址
|
||||
Hls interface{} `orm:"hls" json:"hls"` // hls地址
|
||||
Share interface{} `orm:"share" json:"share"` // 分享地址
|
||||
Rtc interface{} `orm:"rtc" json:"rtc"` // webrtc地址
|
||||
}
|
||||
32
internal/app/system/model/do/qianqi_cameras.go
Normal file
32
internal/app/system/model/do/qianqi_cameras.go
Normal file
@ -0,0 +1,32 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model entity操作代码。
|
||||
// 生成日期:2023-07-31 09:48:11
|
||||
// 生成路径: internal/app/system/model/entity/qianqi_cameras.go
|
||||
// 生成人:gfast
|
||||
// desc:所有摄像头列
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// QianqiCameras is the golang structure for table qianqi_cameras.
|
||||
type QianqiCameras struct {
|
||||
gmeta.Meta `orm:"table:qianqi_cameras, do:true"`
|
||||
Id interface{} `orm:"id,primary" json:"id"` // 序号
|
||||
CameraName interface{} `orm:"camera_name" json:"cameraName"` // 摄像头名称
|
||||
CameraCode interface{} `orm:"camera_code" json:"cameraCode"` // 摄像头编码
|
||||
Detail interface{} `orm:"detail" json:"detail"` // 摄像头坐标信息
|
||||
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status interface{} `orm:"status" json:"status"` // 在线情况
|
||||
Poster interface{} `orm:"poster" json:"poster"` // 封面图
|
||||
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreateAt *gtime.Time `orm:"create_at" json:"createAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user