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,15 @@
package model
type AppAllMembersOfTheCurrentGroupRes struct {
Openid string `json:"openid" dc:"openid"`
PacePhoto string `json:"pacePhoto" dc:"人脸"`
UserName string `json:"userName" dc:"姓名"`
}
type AppSelectThisUserByCardRecordReqRes struct {
Openid string `json:"openid" dc:"openid"`
PacePhoto string `json:"pacePhoto" dc:"人脸"`
UserName string `json:"userName" dc:"姓名"`
ClockingTime string `json:"clockingTime" dc:"打卡时间"`
Commuter string `json:"commuter" dc:"上下班1上班2下班"`
}

View File

@ -0,0 +1,99 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2025-03-27 14:14:25
// 生成路径: internal/app/wxApplet/model/bus_askforleave.go
// 生成人gfast
// desc:请假
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusAskforleaveInfoRes is the golang structure for table bus_askforleave.
type BusAskforleaveInfoRes 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
CardMode string `json:"cardMode" dc:"卡片状态(文字)"`
CardNumber string `json:"cardNumber" dc:"卡片状态数字1待审核 2审核中 3已拒绝 4已同意"`
UserName string `json:"userName" dc:"真实姓名"`
}
type BusAskforleaveListRes struct {
Id int64 `json:"id"`
ProjectId int64 `json:"projectId"`
ProjectName string `json:"projectName"`
TeamId int64 `json:"teamId"`
TeamName string `json:"teamName"`
StartTime *gtime.Time `json:"startTime"`
EndTime *gtime.Time `json:"endTime"`
Argument string `json:"argument"`
Ganger string `json:"ganger"`
GangerOpinion string `json:"gangerOpinion"`
GangerExplain string `json:"gangerExplain"`
GangerTime *gtime.Time `json:"gangerTime"`
Manager string `json:"manager"`
ManagerOpinion string `json:"managerOpinion"`
ManagerExplain string `json:"managerExplain"`
ManagerTime *gtime.Time `json:"managerTime"`
CreateBy string `json:"createBy"`
UpdateBy string `json:"updateBy"`
CreatedAt *gtime.Time `json:"createdAt"`
Remark string `json:"remark"`
Openid string `json:"openid"`
CardMode string `json:"cardMode" dc:"卡片状态(文字)"`
CardNumber string `json:"cardNumber" dc:"卡片状态数字1待审核 2审核中 3已拒绝 4已同意"`
UserName string `json:"userName" dc:"真实姓名"`
}
type BusAskforleaveListAppRes struct {
Id int64 `dc:"主键ID" json:"id"`
ProjectId int64 `dc:"项目ID" json:"projectId"`
ProjectName string `dc:"项目名称" json:"projectName"`
TeamId int64 `dc:"班组ID" json:"teamId"`
TeamName string `dc:"班组名称" json:"teamName"`
StartTime *gtime.Time `dc:"开始时间" json:"startTime"`
EndTime *gtime.Time `dc:"结束时间" json:"endTime"`
Argument string `dc:"请假理由" json:"argument"`
Ganger string `dc:"班组长" json:"ganger"`
GangerName string `dc:"班组长名称" json:"gangerName"`
GangerOpinion string `dc:"班组长意见1未读 2同意 3拒绝" json:"gangerOpinion"`
GangerExplain string `dc:"拒绝理由" json:"gangerExplain"`
GangerTime *gtime.Time `dc:"班组长操作时间" json:"gangerTime"`
Manager string `dc:"管理员" json:"manager"`
ManagerName string `dc:"管理员" json:"managerName"`
ManagerOpinion string `dc:"管理员意见1未读 2同意 3拒绝" json:"managerOpinion"`
ManagerExplain string `dc:"拒绝理由" json:"managerExplain"`
ManagerTime *gtime.Time `dc:"管理员操作时间" json:"managerTime"`
CreatedAt *gtime.Time `dc:"创建时间" json:"createdAt"`
Openid string `dc:"申请人openid" json:"openid"`
UserName string `dc:"申请人名称" json:"userName"`
}

View File

@ -0,0 +1,108 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-07 16:29:52
// 生成路径: internal/app/wxApplet/model/bus_attendance.go
// 生成人gfast
// desc:考勤
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusAttendanceInfoRes is the golang structure for table bus_attendance.
type BusAttendanceInfoRes 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"` // 代打人姓名
Commuter string `orm:"commuter" json:"commuter"` // 上下班1上班2下班
PunchRange string `orm:"punch_range" json:"punchRange"` // 打卡范围
DailyWage float64 `orm:"daily_wage" json:"dailyWage"` // 日薪
Lng string `orm:"lng" json:"lng"` // 经度
Lat string `orm:"lat" json:"lat"` // 纬度
Location string `orm:"location" json:"location"` // 逆编码地址
Missing *gtime.Time `orm:"missing" json:"missing"` // 逆编码地址
}
type BusAttendanceListRes struct {
Id uint64 `json:"id"`
UserName string `json:"userName"`
PacePhoto string `json:"pacePhoto"`
ProjectId int64 `json:"projectId"`
CreateBy string `json:"createBy"`
UpdateBy string `json:"updateBy"`
CreatedAt *gtime.Time `json:"createdAt"`
ClockOn string `json:"clockOn"`
ClockOff string `json:"clockOff"`
PrintingDate string `json:"printingDate"`
IsPinch string `json:"isPinch"`
Openid string `json:"openid"`
PinchOpenId string `json:"pinchOpenId"`
ClockRecord string `json:"clockRecord"`
PinchUserName string `json:"pinchUserName"`
Commuter string `json:"commuter"`
PunchRange string `json:"punchRange"`
DailyWage float64 `json:"dailyWage"`
Lng string `json:"lng"` // 经度
Lat string `json:"lat"` // 纬度
Location string `json:"location"` // 逆编码地址
}
type AppReissueACardListRes struct {
Id uint64 `json:"id" dc:"主键ID"`
IsPinch string `json:"isPinch" dc:"打卡状态1正常 2迟到 3早退 4缺勤"`
PrintingDate string `json:"printingDate" dc:"日期"`
Week string `json:"week" dc:"星期"`
Commuter int64 `json:"commuter" dc:"上下班状态1上班 2下班"`
}
type AppLocationAttendanceStatisticsOneRes struct {
PrintingDate string `json:"printingDate" dc:"打卡日期"`
Types []string `json:"types" dc:"考勤状态1正常 2迟到 3早退 4缺卡 5提交过补卡申请"`
ClockInTimeRange string `json:"clockInTimeRange" dc:"上下班打卡时间范围"`
Number int `json:"number" dc:"打卡次数"`
WorkingHours float64 `json:"workingHours" dc:"工作时长(单位/小时)"`
List []*AppLocationAttendanceStatisticsTwoRes `json:"list" dc:"上下班打卡明细"`
}
type AppLocationAttendanceStatisticsTwoRes struct {
Id uint64 `json:"id" dc:"主键ID"`
Commuter string `json:"commuter" dc:"上下班状态1上班 2下班"`
CommutingTime string `json:"commutingTime" dc:"上下班时间"`
IsPinch string `json:"isPinch" dc:"打卡状态1正常 2迟到 3早退 4缺勤"`
Location string `json:"location" dc:"打卡详细地址"`
MinutesLate float64 `json:"minutesLate" dc:"迟到分钟数"`
}
type AppResubmitTheExitAttachmentModelRes struct {
gmeta.Meta `orm:"table:bus_attendance"`
Id int64 `json:"id" dc:"考勤打卡的主键ID"`
PrintingDate string `json:"printingDate" dc:"考勤打卡的主键ID"`
Openid string `json:"openid" dc:"openid"`
PacePhoto string `json:"pacePhoto" dc:"人脸照"`
UserName string `json:"userName" dc:"用户名称"`
BzName string `json:"bzName" dc:"班组名称"`
TypeOfWorkName string `json:"typeOfWorkName" dc:"工种名称"`
Status string `json:"status" dc:"1出勤 2半勤 3缺勤 0(请求参数Type是什么就是什么)"`
Number int `json:"number" dc:"当天出勤次数"`
LackOfCard int `json:"lackOfCard" dc:"当天缺卡次数"`
List []*BusAttendanceInfoRes `json:"list"`
}

View File

@ -0,0 +1,28 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-07 11:17:50
// 生成路径: internal/app/wxApplet/model/bus_construction_project.go
// 生成人gfast
// desc:施工人员对应项目
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionProjectInfoRes is the golang structure for table bus_construction_project.
type BusConstructionProjectInfoRes 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
}
type BusConstructionProjectListRes struct {
Id uint64 `json:"id"`
ConstructionUserId int64 `json:"constructionUserId"`
ProjectId int64 `json:"projectId"`
}

View File

@ -0,0 +1,171 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-07 11:17:50
// 生成路径: internal/app/wxApplet/model/bus_construction_user.go
// 生成人gfast
// desc:施工人员
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionUserInfoRes is the golang structure for table bus_construction_user.
type BusConstructionUserInfoRes struct {
gmeta.Meta `orm:"table:bus_construction_user"`
Id int64 `orm:"id,primary,omitempty" json:"id"` // 序号
Openid string `orm:"openid,omitempty" json:"openid"` // 微信id
NickName string `orm:"nick_name,omitempty" json:"nickName"` // 微信名称
TeamId int64 `orm:"team_id,omitempty" json:"teamId"` // 班组id
HeadIcon string `orm:"head_icon,omitempty" json:"headIcon"` // 登陆照片
PacePhoto string `orm:"pace_photo,omitempty" json:"pacePhoto"` // 人脸照
UserName string `orm:"user_name,omitempty" json:"userName"` // 人员姓名
ProjectId int64 `orm:"project_id,omitempty" json:"projectId"` // 项目id
Status string `orm:"status,omitempty" json:"status"` // 状态
IsPinch string `orm:"is_pinch,omitempty" json:"isPinch"` // 是否代打
IfManagement string `orm:"if_management,omitempty" json:"ifManagement"` // 是否班组管理
CreateBy string `orm:"create_by,omitempty" json:"createBy"` // 创建者
UpdateBy string `orm:"update_by,omitempty" 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,omitempty" json:"phone"` // 电话
Sex string `orm:"sex,omitempty" json:"sex"` // 性别
SfzNation string `orm:"sfz_nation,omitempty" json:"sfzNation"` // 身份证民族
SfzNumber string `orm:"sfz_number,omitempty" json:"sfzNumber"` // 身份证号码
SfzStart string `orm:"sfz_start,omitempty" json:"sfzStart"` // 身份证有效开始期
SfzEnd string `orm:"sfz_end,omitempty" json:"sfzEnd"` // 身份证有效结束期
SfzSite string `orm:"sfz_site,omitempty" json:"sfzSite"` // 身份证地址
NativePlace string `orm:"native_place,omitempty" json:"nativePlace"` // 籍贯
YhkNumber string `orm:"yhk_number,omitempty" json:"yhkNumber"` // 银行卡号
YhkOpeningBank string `orm:"yhk_opening_bank,omitempty" json:"yhkOpeningBank"` // 开户行
YhkCardholder string `orm:"yhk_cardholder,omitempty" json:"yhkCardholder"` // 持卡人
TypeOfWork string `orm:"type_of_work,omitempty" json:"typeOfWork"` // 工种
SfzBirth string `orm:"sfz_birth,omitempty" json:"sfzBirth"` // 出生日期
Clock string `orm:"clock,omitempty" json:"clock"` // 1打卡 2禁止打卡
LabourserviceId string `orm:"labourservice_id,omitempty" json:"labourserviceId"` // 劳务公司id
BzName string `orm:"bz_name,omitempty" json:"bzName"` // 班组
BzzName string `orm:"bzz_mame,omitempty" json:"bzzName"` // 班组长
LwName string `orm:"lw_name,omitempty" json:"lwName"` // 劳务公司
EntryDate *gtime.Time `orm:"entry_date" json:"entryDate"` // 入场时间
LeaveDate *gtime.Time `orm:"leave_date,omitempty" json:"leaveDate"` // 离场时间
Original string `orm:"original" json:"original"` // 离场时间
Salary string `orm:"salary" json:"salary"` // 离场时间
IfAdministrator string `orm:"if_administrator" json:"ifAdministrator"` // 是否是管理员
ProjectRecord string `orm:"project_record" json:"projectRecord"` // 是否开启项目备案
WxOrPc string `orm:"wx_or_pc" json:"wxOrPc"` //哪添加的1表示pc 2表示小程序
Name string `orm:"name" json:"name"` //项目名称
DevNum string `orm:"dev_num" json:"devNum"` //安全帽标识
BlackOpenid string `orm:"blackOpenid" json:"blackOpenid"` //此字段前端判断是否加入黑名单
RoleIds []int64 `orm:"roleIds" json:"roleIds"` //角色权限
}
type BusConstructionUserListRes struct {
Id int64 `json:"id"`
Openid string `json:"openid"`
NickName string `json:"nickName"`
TeamId int64 `json:"teamId"`
HeadIcon string `json:"headIcon"`
PacePhoto string `json:"pacePhoto"`
UserName string `json:"userName"`
ProjectId int64 `json:"projectId"`
Status string `json:"status"`
IsPinch string `json:"isPinch"`
IfManagement string `json:"ifManagement"`
CreateBy string `json:"createBy"`
UpdateBy string `json:"updateBy"`
CreatedAt *gtime.Time `json:"createdAt"`
Phone string `json:"phone"`
Sex string `json:"sex"`
SfzNation string `json:"sfzNation"`
SfzNumber string `json:"sfzNumber"`
SfzStart string `json:"sfzStart"`
SfzEnd string `json:"sfzEnd"`
SfzSite string `json:"sfzSite"`
NativePlace string `json:"nativePlace"`
YhkNumber string `json:"yhkNumber"`
YhkOpeningBank string `json:"yhkOpeningBank"`
YhkCardholder string `json:"yhkCardholder"`
TypeOfWork string `json:"typeOfWork"`
SfzBirth string `json:"sfzBirth"`
Age string `json:"age"`
Clock string `json:"clock"`
LabourserviceId string `json:"labourserviceId"`
BzName string `json:"bzName"`
BzzName string `json:"bzzName"`
LwName string `json:"lwName"`
EntryDate *gtime.Time `json:"entryDate"`
LeaveDate *gtime.Time `json:"leaveDate"`
OriginalSalary string `json:"original"`
Salary string `json:"salary"`
ProjectRecord string `json:"projectRecord"`
WxOrPc string `json:"wxOrPc"`
//IsPass string `json:"isPass" dc:"成绩是否合格1及格 2不及格 3暂无记录"`
PdfStr string `json:"pdfStr" dc:"上次考试的试卷PDF格式"`
DevNum string `json:"devNum" dc:"安全帽标识"`
BlackOpenid string `json:"blackOpenid" dc:"此字段前端判断是否加入黑名单"` //
HistoricalRetreat bool `json:"historicalRetreat" dc:"布尔值true代表有记录反之无记录"`
FileStatus string `json:"fileStatus" dc:"1未上传 2上传中 3已上传"`
Signature string `json:"signature" dc:"签名(图片路径)"`
}
type BusConstructiomUserSignatureRes struct {
gmeta.Meta `orm:"table:bus_constructiom_user_signature"`
Id int64 `orm:"id,primary" json:"id"` // 序号
Openid string `orm:"openid" json:"openid"` // 微信id
Signature string `orm:"signature" json:"signature" dc:"签名路径"` // 签名
Change int64 `orm:"change" json:"change" dc:"是否更改签名1不更改 2更改"` // 是否更改签名1不更改 2更改
}
type BusConstructionUserInfoTwoRes struct {
BusConstructionUserInfoRes
FileStatus string `json:"fileStatus" dc:"1未上传 2上传中 3已上传"`
Signature string `json:"signature" dc:"签名(图片路径)"`
UserFileList []*BusConstructionUserFileInfoRes `orm:"with:user_id=id, where:user_img_type in (4,5,6,7,8,10)" json:"userFileList"` //当前用户的文件资料
}
type AppListOfConstructionPersonnelModelRes struct {
Id int64 `dc:"施工人员主键ID" json:"id"`
Clock string `dc:"打卡(1启用打卡 2禁止打卡)" json:"clock"`
NickName string `dc:"微信名称" json:"nickName"`
HeadIcon string `dc:"微信头像" json:"headIcon"`
UserName string `dc:"人员姓名" json:"userName"`
PacePhoto string `dc:"人脸照" json:"pacePhoto"`
Sex string `dc:"性别1男 2女 3保密" json:"sex"`
SexName string `dc:"性别(中文)" json:"sexName"`
SfzBirth string `dc:"出生日期" json:"sfzBirth"`
Age string `dc:"年龄" json:"age"`
BzName string `dc:"班组" json:"bzName"`
TypeOfWorkName string `dc:"工种" json:"typeOfWorkName"`
LwName string `dc:"劳务公司" json:"lwName"`
EntryDate *gtime.Time `dc:"入场时间" json:"entryDate"`
LeaveDate *gtime.Time `dc:"离场时间" json:"leaveDate"`
Openid string `dc:"openid" json:"openid"`
IsAuthentication bool `dc:"isAuthentication" json:"isAuthentication"`
}
type AppGetPersonnelDetailsModelRes struct {
Id int64 `json:"id" dc:"主键ID"`
Openid string `json:"openid" dc:"openid"`
PacePhoto string `json:"pacePhoto" dc:"人脸"`
UserName string `json:"userName" dc:"名称"`
SexName string `json:"sexName" dc:"性别"`
Phone string `json:"phone" dc:"电话"`
SfzNumber string `json:"sfzNumber" dc:"身份证号码"`
SfzNation string `json:"sfzNation" dc:"民族"`
SfzBirth string `json:"sfzBirth" dc:"出生日期"`
SfzSite string `json:"sfzSite" dc:"地址" `
YhkOpeningBank string `json:"yhkOpeningBank" dc:"开户行(银行)"`
YhkNumber string `json:"yhkNumber" dc:"银行卡号"`
ProjectName string `json:"projectName" dc:"项目名称"`
LwName string `json:"lwName" dc:"劳务名称(施工单位)"`
BzName string `json:"bzName," dc:"班组名称"`
TypeOfWorkName string `json:"typeOfWorkName" dc:"工种"`
StatusStr string `json:"statusStr" dc:"状态"`
EntryDate *gtime.Time `json:"entryDate" dc:"入场时间"`
LeaveDate *gtime.Time `json:"leaveDate" dc:"退场时间"`
}

View File

@ -0,0 +1,42 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-07 11:17:55
// 生成路径: internal/app/wxApplet/model/bus_construction_user_file.go
// 生成人gfast
// desc:微信用户的文件存储
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionUserFileInfoRes is the golang structure for table bus_construction_user_file.
type BusConstructionUserFileInfoRes 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"` // 图片类型
Name string `orm:"name" json:"name"` // 图片名字
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"` // 备注
DictLabel string `orm:"dict_label" json:"dictLabel"` // 备注
}
type BusConstructionUserFileListRes struct {
Id int64 `json:"id"`
UserId int64 `json:"userId"`
UserImgType string `json:"userImgType"`
Name string `json:"name"`
Path string `json:"path"`
CreatedAt *gtime.Time `json:"createdAt"`
DictLabel string `json:"dictLabel"`
}

View File

@ -0,0 +1,28 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-07 11:17:55
// 生成路径: internal/app/wxApplet/model/bus_construction_user_post.go
// 生成人gfast
// desc:施工人员岗位
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/util/gmeta"
)
// BusConstructionUserPostInfoRes is the golang structure for table bus_construction_user_post.
type BusConstructionUserPostInfoRes 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
}
type BusConstructionUserPostListRes struct {
Id uint64 `json:"id"`
ConstructionUserId int64 `json:"constructionUserId"`
PostId int64 `json:"postId"`
}

View File

@ -0,0 +1,52 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-14 11:24:31
// 生成路径: internal/app/wxApplet/model/bus_labourservice.go
// 生成人gfast
// desc:劳务公司
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// BusLabourserviceInfoRes is the golang structure for table bus_labourservice.
type BusLabourserviceInfoRes 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"` // 联系电话
Custodian string `orm:"custodian" json:"custodian"` // 管理人
CustodianPhone string `orm:"custodian_phone" json:"custodianPhone"` // 管理人联系电话
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"` // 备注
}
type BusLabourserviceListRes struct {
Id int64 `json:"id"`
Name string `json:"name"`
Principal string `json:"principal"`
Phone string `json:"phone"`
Custodian string `json:"custodian"`
CustodianPhone string `json:"custodianPhone"`
CreatedAt *gtime.Time `json:"createdAt"`
Remark string `json:"remark"`
}
type BusLabourserviceFileRes struct {
gmeta.Meta `orm:"table:bus_labourservice_file"`
Id int64 `orm:"id,primary" json:"id" dc:"资料ID"`
Pid int64 `orm:"pid" json:"pid" dc:"劳务公司主键ID"`
Type string `orm:"type" json:"type" dc:"资料类型"`
Name string `orm:"name" json:"name" dc:"文件名称"`
Path string `orm:"path" json:"path" dc:"路径"`
}

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 后台管理
}

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"` // 删除时间
}

View File

@ -0,0 +1,37 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-15 09:34:52
// 生成路径: internal/app/wxApplet/model/sys_project_team.go
// 生成人gfast
// desc:项目班组
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysProjectTeamInfoRes is the golang structure for table sys_project_team.
type SysProjectTeamInfoRes 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"` // 班组名称
IsClockIn string `orm:"is_clock_in" json:"isClockIn"` // 班组名称
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"` // 删除时间
}
type SysProjectTeamListRes struct {
Id int64 `json:"id" dc:"班组主键ID"`
ProjectId string `json:"projectId" dc:"项目ID"`
Name string `json:"name" dc:"班组名称"`
IsClockIn string `json:"isClockIn" dc:"范围内打卡1范围内打卡 2任何地点打卡默认为2"`
CreateTime *gtime.Time `json:"createTime" dc:"创建时间"`
}

View File

@ -0,0 +1,49 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-15 09:34:52
// 生成路径: internal/app/wxApplet/model/sys_project_team_member.go
// 生成人gfast
// desc:项目班组下的成员
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysProjectTeamMemberInfoRes is the golang structure for table sys_project_team_member.
type SysProjectTeamMemberInfoRes struct {
gmeta.Meta `orm:"table:sys_project_team_member"`
Id int64 `orm:"id,primary" json:"id"` // 主键ID
TeamId int64 `orm:"team_id" json:"teamId"` // 班组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"` // 删除时间
ProjectId int64 `orm:"projectId" json:"project_id"` // 项目ID
HeadIcon string `orm:"head_icon" json:"headIcon"`
Phone string `orm:"phone" json:"phone"`
UserName string `orm:"user_name" json:"userName"`
NickName string `orm:"nick_name" json:"nickName"`
Original string `orm:"original" json:"original"`
Salary string `orm:"salary" json:"salary"`
WoPdf string `orm:"wo_pdf" json:"WoPdf" dc:"是否有试卷(不为空表示有)"`
}
type SysProjectTeamMemberListRes struct {
Id int64 `json:"id"`
TeamId int64 `json:"teamId"`
Openid string `json:"openid"`
PostId int64 `json:"postId"`
HeadIcon string `json:"headIcon"`
Phone string `json:"phone"`
UserName string `json:"userName"`
NickName string `json:"nickName"`
Original string `json:"original"`
Salary string `json:"salary"`
}

View File

@ -0,0 +1,53 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-30 15:24:06
// 生成路径: internal/app/wxApplet/model/sys_project_team_squad.go
// 生成人gfast
// desc:站班会
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysProjectTeamSquadInfoRes is the golang structure for table sys_project_team_squad.
type SysProjectTeamSquadInfoRes 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 string `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"` // 删除时间
TeamName string `orm:"team_name" json:"teamName"` // 班组名称
LabourserviceName string `orm:"labourservice_name" json:"labourserviceName"` // 劳务公司名称
CompereName string `orm:"compere_name" json:"compereName"` // 主持人名称
ParticipantName string `orm:"participant_name" json:"participantName"` // 参与人名称
}
type SysProjectTeamSquadListRes struct {
Id int64 `json:"id"`
TeamId int64 `json:"teamId"`
MeetingDate *gtime.Time `json:"meetingDate"`
CompereId string `json:"compereId"`
ParticipantId string `json:"participantId"`
Content string `json:"content"`
Picture string `json:"picture"`
CreatedAt *gtime.Time `json:"createdAt"`
TeamName string `json:"teamName"`
LabourserviceName string `json:"labourserviceName"`
CompereName string `json:"compereName"`
ParticipantName string `json:"participantName"`
}
type name struct {
}

View File

@ -0,0 +1,47 @@
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2023-08-21 09:19:15
// 生成路径: internal/app/wxApplet/model/sys_user_project_relevancy.go
// 生成人gfast
// desc:系统用户与项目关联
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// SysUserProjectRelevancyInfoRes is the golang structure for table sys_user_project_relevancy.
type SysUserProjectRelevancyInfoRes 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"` // 删除时间
ProjectName string `orm:"project_name" json:"projectName"` // 项目名称
ProjectSite string `orm:"project_site"`
Lng string `orm:"lng" json:"lng"` // 经度
Lat string `orm:"lat" json:"lat"` // 纬度
Type string `orm:"type" json:"type"` // 项目类型
}
type SysUserProjectRelevancyListRes struct {
Id int64 `json:"id"`
UserId int64 `json:"userId"`
ProjectId int64 `json:"projectId"`
CreatedAt *gtime.Time `json:"createdAt"`
ProjectName string ` json:"projectName"` // 项目名称
ProjectSite string ` json:"project_site" dc:"项目地址"`
Lng string ` json:"lng"` // 经度
Lat string ` json:"lat"` // 纬度
Type string ` json:"type"` // 项目类型
}