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 entity
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"`
Id int64 `orm:"id,primary" json:"id"` // 主键ID
ProjectId int64 `orm:"project_id" json:"projectId"` // 项目ID
ProjectName string `orm:"project_name" json:"projectName"` // 项目名称
TeamId int64 `orm:"team_id" json:"teamId"` // 班组ID
TeamName string `orm:"team_name" json:"teamName"` // 班组名称
StartTime *gtime.Time `orm:"start time" json:"startTime"` // 开始时间
EndTime *gtime.Time `orm:"end_time" json:"endTime"` // 结束时间
Argument string `orm:"argument" json:"argument"` // 请假理由
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"` // 班组长操作时间
Manager string `orm:"manager" json:"manager"` // 管理员
ManagerOpinion string `orm:"manager_opinion" json:"managerOpinion"` // 管理员意见1未读 2同意 3拒绝
ManagerExplain string `orm:"manager_explain" json:"managerExplain"` // 拒绝理由
ManagerTime *gtime.Time `orm:"manager_time" json:"managerTime"` // 管理员操作时间
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"` // 备注
Openid string `orm:"openid" json:"openid"` // openid
}

View File

@ -0,0 +1,37 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 16:29:52
// 生成路径: internal/app/wxApplet/model/entity/bus_attendance.go
// 生成人gfast
// desc:考勤
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id uint64 `orm:"id,primary" json:"id"` // 序号
UserName string `orm:"user_name" json:"userName"` // 人员姓名
PacePhoto string `orm:"pace_photo" json:"pacePhoto"` // 人脸照
ProjectId int64 `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"` // 删除时间
ClockOn string `orm:"clock_on" json:"clockOn"` // 上午打卡
ClockOff string `orm:"clock_off" json:"clockOff"` // 下午打卡
PrintingDate string `orm:"printing_date" json:"printingDate"` // 年月日打卡时间
IsPinch string `orm:"is_pinch" json:"isPinch"` // 打卡状态
Openid string `orm:"openid" json:"openid"` // 微信id
PinchOpenId string `orm:"pinch_openId" json:"pinchOpenId"` // 代打id
ClockRecord string `orm:"clock_record" json:"clockRecord"` // 多次打卡时间记录
PinchUserName string `orm:"pinch_user_name" json:"pinchUserName"` // 代打人姓名
}

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 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
}

View File

@ -0,0 +1,47 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 11:17:50
// 生成路径: internal/app/wxApplet/model/entity/bus_construction_user.go
// 生成人gfast
// desc:施工人员
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id int64 `orm:"id,primary" json:"id"` // 序号
Openid string `orm:"openid" json:"openid"` // 微信id
NickName string `orm:"nick_name" json:"nickName"` // 微信名称
TeamId int64 `orm:"team_id" json:"teamId"` // 班组id
HeadIcon string `orm:"head_icon" json:"headIcon"` // 登陆照片
PacePhoto string `orm:"pace_photo" json:"pacePhoto"` // 人脸照
UserName string `orm:"user_name" json:"userName"` // 人员姓名
ProjectId int64 `orm:"project_id" json:"projectId"` // 项目id
Status string `orm:"status" json:"status"` // 状态
IsPinch string `orm:"is_pinch" json:"isPinch"` // 是否代打
IfManagement string `orm:"if_management" json:"ifManagement"` // 是否班组管理
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"` // 删除时间
Phone string `orm:"phone" json:"phone"` // 电话
Sex string `orm:"sex" json:"sex"` // 性别
SfzNation string `orm:"sfz_nation" json:"sfzNation"` // 身份证民族
SfzNumber string `orm:"sfz_number" json:"sfzNumber"` // 身份证号码
SfzStart string `orm:"sfz_start" json:"sfzStart"` // 身份证有效开始期
SfzEnd string `orm:"sfz_end" json:"sfzEnd"` // 身份证有效结束期
SfzSite string `orm:"sfz_site" json:"sfzSite"` // 身份证地址
NativePlace string `orm:"native_place" json:"nativePlace"` // 籍贯
YhkNumber string `orm:"yhk_number" json:"yhkNumber"` // 银行卡号
YhkOpeningBank string `orm:"yhk_opening_bank" json:"yhkOpeningBank"` // 开户行
YhkCardholder string `orm:"yhk_cardholder" json:"yhkCardholder"` // 持卡人
}

View File

@ -0,0 +1,30 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-07 11:17:55
// 生成路径: internal/app/wxApplet/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"` // 备注
}

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 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
}

View File

@ -0,0 +1,30 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-14 11:24:31
// 生成路径: internal/app/wxApplet/model/entity/bus_labourservice.go
// 生成人gfast
// desc:劳务公司
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id int64 `orm:"id,primary" json:"id"` // 主键ID
Name string `orm:"name" json:"name"` // 劳务公司
Principal string `orm:"principal" json:"principal"` // 负责人
Phone string `orm:"phone" json:"phone"` // 联系电话
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"` // 备注
}

View File

@ -0,0 +1,28 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-15 09:34:52
// 生成路径: internal/app/wxApplet/model/entity/sys_project_team.go
// 生成人gfast
// desc:项目班组
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id int64 `orm:"id,primary" json:"id"` // 主键ID
ProjectId string `orm:"project_id" json:"projectId"` // 项目id
Name string `orm:"name" json:"name"` // 班组名称
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"` // 删除时间
}

View File

@ -0,0 +1,27 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-15 09:34:52
// 生成路径: internal/app/wxApplet/model/entity/sys_project_team_member.go
// 生成人gfast
// desc:项目班组下的成员
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id int64 `orm:"id,primary" json:"id"` // 主键ID
ProjectId int64 `orm:"project_id" json:"projectId"` // 项目id
Openid string `orm:"openid" json:"openid"` // 微信用户标识
PostId int64 `orm:"post_id" json:"postId"` // 岗位默认为4普通员工组长为10
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,32 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-30 15:24:06
// 生成路径: internal/app/wxApplet/model/entity/sys_project_team_squad.go
// 生成人gfast
// desc:站班会
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id int64 `orm:"id,primary" json:"id"` // 主键ID
TeamId int64 `orm:"team_id" json:"teamId"` // 班组ID
MeetingDate *gtime.Time `orm:"meeting_date" json:"meetingDate"` // 开会时间
CompereId int64 `orm:"compere_id" json:"compereId"` // 宣讲人
ParticipantId string `orm:"participant_id" json:"participantId"` // 参与人ID多个用号隔开
Content string `orm:"content" json:"content"` // 班会内容
Picture string `orm:"picture" json:"picture"` // 班会图片(多个用,号隔开)
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"` // 删除时间
}

View File

@ -0,0 +1,28 @@
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2023-08-21 09:19:15
// 生成路径: internal/app/wxApplet/model/entity/sys_user_project_relevancy.go
// 生成人gfast
// desc:系统用户与项目关联
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
Id int64 `orm:"id,primary" json:"id"` // 主键ID
UserId int64 `orm:"user_id" json:"userId"` // 用户ID
ProjectId int64 `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"` // 删除时间
}