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