This commit is contained in:
2025-07-07 20:11:59 +08:00
parent ab0fdbc447
commit 06e3aa2eb3
2009 changed files with 193082 additions and 0 deletions

View File

@ -0,0 +1,43 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2025-03-27 14:14:25
// 生成路径: internal/app/wxApplet/model/entity/bus_askforleave.go
// 生成人gfast
// desc:请假
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusAskforleave is the golang structure for table bus_askforleave.
type BusAskforleave struct {
gmeta.Meta `orm:"table:bus_askforleave, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
ProjectName interface{} `orm:"project_name" json:"projectName"` // 项目名称
TeamId interface{} `orm:"team_id" json:"teamId"` // 班组ID
TeamName interface{} `orm:"team_name" json:"teamName"` // 班组名称
StartTime *gtime.Time `orm:"start time" json:"startTime"` // 开始时间
EndTime *gtime.Time `orm:"end_time" json:"endTime"` // 结束时间
Argument interface{} `orm:"argument" json:"argument"` // 请假理由
Ganger interface{} `orm:"ganger" json:"ganger"` // 班组长
GangerOpinion interface{} `orm:"ganger_opinion" json:"gangerOpinion"` // 班组长意见1未读 2同意 3拒绝
GangerExplain interface{} `orm:"ganger_explain" json:"gangerExplain"` // 拒绝理由
GangerTime *gtime.Time `orm:"ganger_time" json:"gangerTime"` // 班组长操作时间
Manager interface{} `orm:"manager" json:"manager"` // 管理员
ManagerOpinion interface{} `orm:"manager_opinion" json:"managerOpinion"` // 管理员意见1未读 2同意 3拒绝
ManagerExplain interface{} `orm:"manager_explain" json:"managerExplain"` // 拒绝理由
ManagerTime *gtime.Time `orm:"manager_time" json:"managerTime"` // 管理员操作时间
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
Remark interface{} `orm:"remark" json:"remark"` // 备注
Openid interface{} `orm:"openid" json:"openid"` // openid
}

View File

@ -0,0 +1,43 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 16:29:52
// 生成路径: internal/app/wxApplet/model/entity/bus_attendance.go
// 生成人gfast
// desc:考勤
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusAttendance is the golang structure for table bus_attendance.
type BusAttendance struct {
gmeta.Meta `orm:"table:bus_attendance, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 序号
UserName interface{} `orm:"user_name" json:"userName"` // 人员姓名
PacePhoto interface{} `orm:"pace_photo" json:"pacePhoto"` // 人脸照
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
ClockOn interface{} `orm:"clock_on" json:"clockOn"` // 上午打卡
ClockOff interface{} `orm:"clock_off" json:"clockOff"` // 下午打卡
PrintingDate interface{} `orm:"printing_date" json:"printingDate"` // 年月日打卡时间
IsPinch interface{} `orm:"is_pinch" json:"isPinch"` // 打卡状态
Openid interface{} `orm:"openid" json:"openid"` // 微信id
PinchOpenId interface{} `orm:"pinch_openId" json:"pinchOpenId"` // 代打id
ClockRecord interface{} `orm:"clock_record" json:"clockRecord"` // 多次打卡时间记录
PinchUserName interface{} `orm:"pinch_user_name" json:"pinchUserName"` // 代打人姓名
Commuter interface{} `orm:"commuter" json:"commuter"` // 上下班
PunchRange interface{} `orm:"punch_range" json:"punchRange"` // 打卡范围
DailyWage interface{} `orm:"daily_wage" json:"dailyWage"` // 日薪
Lng interface{} `orm:"lng" json:"lng"` // 经度
Lat interface{} `orm:"lat" json:"lat"` // 纬度
Location interface{} `orm:"location" json:"location"` // 逆编码地址
}

View File

@ -0,0 +1,22 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 11:17:50
// 生成路径: internal/app/wxApplet/model/entity/bus_construction_project.go
// 生成人gfast
// desc:施工人员对应项目
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionProject is the golang structure for table bus_construction_project.
type BusConstructionProject struct {
gmeta.Meta `orm:"table:bus_construction_project, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 序号
ConstructionUserId interface{} `orm:"construction_user_id" json:"constructionUserId"` // 微信用户id
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
}

View File

@ -0,0 +1,57 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 11:17:50
// 生成路径: internal/app/wxApplet/model/entity/bus_construction_user.go
// 生成人gfast
// desc:施工人员
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionUser is the golang structure for table bus_construction_user.
type BusConstructionUser struct {
gmeta.Meta `orm:"table:bus_construction_user, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 序号
Openid interface{} `orm:"openid,primary" json:"openid"` // 微信id
NickName interface{} `orm:"nick_name" json:"nickName"` // 微信名称
TeamId interface{} `orm:"team_id" json:"teamId"` // 班组id
HeadIcon interface{} `orm:"head_icon" json:"headIcon"` // 登陆照片
PacePhoto interface{} `orm:"pace_photo" json:"pacePhoto"` // 人脸照
UserName interface{} `orm:"user_name" json:"userName"` // 人员姓名
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
Status interface{} `orm:"status,primary" json:"status"` // 状态
IsPinch interface{} `orm:"is_pinch" json:"isPinch"` // 是否代打
IfManagement interface{} `orm:"if_management" json:"ifManagement"` // 是否班组管理
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
Phone interface{} `orm:"phone" json:"phone"` // 电话
Sex interface{} `orm:"sex" json:"sex"` // 性别
SfzNation interface{} `orm:"sfz_nation" json:"sfzNation"` // 身份证民族
SfzNumber interface{} `orm:"sfz_number" json:"sfzNumber"` // 身份证号码
SfzStart interface{} `orm:"sfz_start" json:"sfzStart"` // 身份证有效开始期
SfzEnd interface{} `orm:"sfz_end" json:"sfzEnd"` // 身份证有效结束期
SfzSite interface{} `orm:"sfz_site" json:"sfzSite"` // 身份证地址
NativePlace interface{} `orm:"native_place" json:"nativePlace"` // 籍贯
YhkNumber interface{} `orm:"yhk_number" json:"yhkNumber"` // 银行卡号
YhkOpeningBank interface{} `orm:"yhk_opening_bank" json:"yhkOpeningBank"` // 开户行
YhkCardholder interface{} `orm:"yhk_cardholder" json:"yhkCardholder"` // 持卡人
WxOrPc interface{} `orm:"wx_or_pc,primary" json:"wxOrPc"`
SfzBirth interface{} `orm:"sfz_birth" json:"sfzBirth"`
LabourserviceId interface{} `orm:"labourservice_id" json:"labourserviceId"`
TypeOfWork interface{} `orm:"type_of_work" json:"typeOfWork"`
Clock interface{} `orm:"clock" json:"clock"`
EntryDate *gtime.Time `orm:"entry_date,primary" json:"entryDate"`
LeaveDate *gtime.Time `orm:"leave_date,primary" json:"leaveDate"`
Salary interface{} `orm:"salary" json:"salary"` // 薪水
ProjectRecord interface{} `orm:"project_record,primary" json:"projectRecord"` // 是否开启项目备案
DevNum interface{} `orm:"dev_num" json:"devNum"` // 安全帽标识
}

View File

@ -0,0 +1,31 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 11:17:55
// 生成路径: internal/app/wxApplet/model/entity/bus_construction_user_file.go
// 生成人gfast
// desc:微信用户的文件存储
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionUserFile is the golang structure for table bus_construction_user_file.
type BusConstructionUserFile struct {
gmeta.Meta `orm:"table:bus_construction_user_file, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
UserId interface{} `orm:"user_id" json:"userId"` // 用户id
UserImgType interface{} `orm:"user_img_type" json:"userImgType"` // 图片类型
Name interface{} `orm:"name" json:"name"` // 名称
Path interface{} `orm:"path" json:"path"` // 图片路径
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
Remark interface{} `orm:"remark" json:"remark"` // 备注
}

View File

@ -0,0 +1,22 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 11:17:55
// 生成路径: internal/app/wxApplet/model/entity/bus_construction_user_post.go
// 生成人gfast
// desc:施工人员岗位
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionUserPost is the golang structure for table bus_construction_user_post.
type BusConstructionUserPost struct {
gmeta.Meta `orm:"table:bus_construction_user_post, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 序号
ConstructionUserId interface{} `orm:"construction_user_id" json:"constructionUserId"` // 施工人员id
PostId interface{} `orm:"post_id" json:"postId"` // 岗位id
}

View File

@ -0,0 +1,32 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-14 11:24:31
// 生成路径: internal/app/wxApplet/model/entity/bus_labourservice.go
// 生成人gfast
// desc:劳务公司
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusLabourservice is the golang structure for table bus_labourservice.
type BusLabourservice struct {
gmeta.Meta `orm:"table:bus_labourservice, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
Name interface{} `orm:"name" json:"name"` // 劳务公司
Principal interface{} `orm:"principal" json:"principal"` // 负责人
Phone interface{} `orm:"phone" json:"phone"` // 联系电话
Custodian interface{} `orm:"custodian" json:"custodian"` // 管理人
CustodianPhone interface{} `orm:"custodian_phone" json:"custodianPhone"` // 管理人联系电话
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
Remark interface{} `orm:"remark" json:"remark"` // 备注
}

View File

@ -0,0 +1,29 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-15 09:34:52
// 生成路径: internal/app/wxApplet/model/entity/sys_project_team.go
// 生成人gfast
// desc:项目班组
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysProjectTeam is the golang structure for table sys_project_team.
type SysProjectTeam struct {
gmeta.Meta `orm:"table:sys_project_team, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
Name interface{} `orm:"name" json:"name"` // 班组名称
IsClockIn interface{} `orm:"is_clock_in" json:"isClockIn"` // 班组名称
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建者
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新者
CreateTime *gtime.Time `orm:"create_time" json:"createTime"` // 创建时间
UpdateTime *gtime.Time `orm:"update_time" json:"updateTime"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
}

View File

@ -0,0 +1,28 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-15 09:34:52
// 生成路径: internal/app/wxApplet/model/entity/sys_project_team_member.go
// 生成人gfast
// desc:项目班组下的成员
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysProjectTeamMember is the golang structure for table sys_project_team_member.
type SysProjectTeamMember struct {
gmeta.Meta `orm:"table:sys_project_team_member, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
TeamId interface{} `orm:"team_id" json:"teamId"` // 班组id
Openid interface{} `orm:"openid" json:"openid"` // 微信用户标识
PostId interface{} `orm:"post_id" json:"postId"` // 岗位默认为4普通员工组长为10
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
CreateTime *gtime.Time `orm:"create_time" json:"createTime"` // 创建时间
UpdateTime *gtime.Time `orm:"update_time" json:"updateTime"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
}

View File

@ -0,0 +1,35 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-30 15:24:06
// 生成路径: internal/app/wxApplet/model/entity/sys_project_team_squad.go
// 生成人gfast
// desc:站班会
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysProjectTeamSquad is the golang structure for table sys_project_team_squad.
type SysProjectTeamSquad struct {
gmeta.Meta `orm:"table:sys_project_team_squad, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
TeamId interface{} `orm:"team_id" json:"teamId"` // 班组ID
MeetingDate *gtime.Time `orm:"meeting_date" json:"meetingDate"` // 开会时间
CompereId interface{} `orm:"compere_id" json:"compereId"` // 宣讲人
ParticipantId interface{} `orm:"participant_id" json:"participantId"` // 参与人ID多个用号隔开
Content interface{} `orm:"content" json:"content"` // 班会内容
Picture interface{} `orm:"picture,primary" json:"picture"` // 班会图片(多个用,号隔开)
CreateBy interface{} `orm:"create_by,primary" json:"createBy"` // 创建人
UpdateBy interface{} `orm:"update_by,primary" 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"` // 删除时间
TeamName interface{} `orm:"team_name" json:"teamName"` // 班组名称
LabourserviceName interface{} `orm:"labourservice_name" json:"labourserviceName"` // 劳务公司名称
}

View File

@ -0,0 +1,31 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-21 09:19:15
// 生成路径: internal/app/wxApplet/model/entity/sys_user_project_relevancy.go
// 生成人gfast
// desc:系统用户与项目关联
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysUserProjectRelevancy is the golang structure for table sys_user_project_relevancy.
type SysUserProjectRelevancy struct {
gmeta.Meta `orm:"table:sys_user_project_relevancy, do:true"`
Id interface{} `orm:"id,primary" json:"id"` // 主键ID
UserId interface{} `orm:"user_id" json:"userId"` // 用户ID
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目ID
CreateBy interface{} `orm:"create_by" json:"createBy"` // 创建人
UpdateBy interface{} `orm:"update_by" json:"updateBy"` // 更新人
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
ProjectName interface{} `orm:"project_name" json:"projectName"` // 删除时间
Source interface{} `orm:"source" json:"source"` // 来源 | 0 小程序 | 1 后台管理
}