dddd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

64 lines
2.7 KiB

package commonus
//公共变量
type SetId struct {
Id int64 `json:"id"`
OutId string `json:"outID"`
}
type SetIds struct {
Id int64 `json:"id"`
OutId string `json:"outid"`
}
//批量ID
type BatchId struct {
Id []int64 `json:"id"`
OutId string `json:"outID"`
}
type DelParameter struct {
SetIds
State int `json:"state"` // 状态
IsDel int `json:"isdel"` // 是否强制删除
}
//员工信息进本信息
type PublicUserCont struct {
Number string `json:"number"` //员工编号
DepartmentId int64 `json:"departmentid"` //分厂Id
DepartmentName string `json:"departmentname"` //分厂名称
WorkshopId int64 `json:"workshopid"` //工段Id
WorkshopName string `json:"workshopname"` //工段名称
PostId int64 `json:"postid"` //职务Id
PostName string `json:"postname"` //职务名称
Tema int64 `json:"tema"` //班组Id
TemaName string `json:"temaname"` //班组名称
Key int64 `json:"key" ` //唯一识别码
State int `json:"state"` //状态(1:启用;2:禁用;3:删除)
HireSet int `json:"hireset"` //雇佣状态(1:在职;2:离职)
Group int64 `json:"group"` //集团公司
WechatId string `json:"wechatid"` //微信KEY
Name string `json:"name"` //姓名
Gender int `json:"gender"` //性别(1:男;2:女)"`
Age int `json:"age"` //年龄"`
Tel string `json:"tel"` //联系方式"`
Category int `json:"category"` //人员类别(1:正式工;2:合同工;3:实习生)"`
CertificatesType int `json:"certificatesType"` //证件类型(1:身份证;2:驾驶证;3:军人证;4:护照;5:居住证)"`
CertificatesNum string `json:"certificatesNum"` //证件编号"`
Birthday string `json:"birthday"` //出生日期"`
EntryTime string `json:"entryTime"` //入职日期"`
QuitTimeAttr string `json:"quitTime"` //离职日期"`
Addrest string `json:"addrest"` //家庭住址
Icon string `json:"icon"` //照片"`
NickName string `json:"nickName"` //昵称"`
}
//具体职责项与考核项目,类别
type DutyAssClass struct {
Title string `json:"title"` //具体职责
ClassId int64 `json:"partId"` //考核类别
ClassTitle string `json:"asstitle"` //考核类名称
AssessId int64 `json:"assessId"` //考核项目
AssTitle string `json:"asstitle"` //考核项目名称
}