HR管理系统
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.

34 lines
739 B

package workrostering
//工作时间段列表查询
type WorkTimeList struct {
Name string `json:"name"` //名称
}
//添加工作时间段
type SetWorkTime struct {
Name string `json:"name"` //名称
List []TemaTime `json:"list"` // 班次安排
}
//通用班次时间
type TemaTime struct {
Title string `json:"title"` //班次名称
StartTime string `json:"startTime"` //开始时间
EndTime string `json:"endTime"` //结束时间
}
//输出工作时间段列表
type SendWorkTime struct {
Id string `json:"id"` //
State int `json:"state"` //
States bool `json:"states"` //
SetWorkTime
}
//编辑工作时间段内容
type EditWorkTimeCont struct {
Id string `json:"id"` //
SetWorkTime
}