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.
220 lines
4.8 KiB
220 lines
4.8 KiB
package com.zc.business.domain;
|
|
|
|
import java.util.Date;
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 值班对象 dc_shifts
|
|
*
|
|
* @author ruoyi
|
|
* @date 2024-01-04
|
|
*/
|
|
public class DcShifts extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** */
|
|
private Long id;
|
|
|
|
private Long idBefore;
|
|
|
|
|
|
/** 当值人员ID */
|
|
@ApiModelProperty(value = "当值人员ID", required = true)
|
|
|
|
private Long employeesId;
|
|
|
|
/** 值班日期 */
|
|
@ApiModelProperty(value = "值班日期", required = true)
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
@Excel(name = "值班日期", width = 30, dateFormat = "yyyy-MM-dd")
|
|
private Date date;
|
|
|
|
/** 开始时间 */
|
|
@ApiModelProperty("开始时间")
|
|
@JsonFormat(pattern = "HH:mm:ss")
|
|
|
|
private Date startTime;
|
|
|
|
/** 结束时间 */
|
|
@ApiModelProperty("结束时间")
|
|
@JsonFormat(pattern = "HH:mm:ss")
|
|
|
|
private Date endTime;
|
|
|
|
@ApiModelProperty("姓名")
|
|
@Excel(name = "姓名")
|
|
private String name;
|
|
@ApiModelProperty("手机号")
|
|
@Excel(name = "手机号")
|
|
private String contactNumber;
|
|
|
|
@ApiModelProperty("岗位")
|
|
@Excel(name = "岗位")
|
|
private String postName;
|
|
@ApiModelProperty("备注")
|
|
//@Excel(name = "备注")
|
|
private String remark;
|
|
|
|
@ApiModelProperty("所属路管驻点名称")
|
|
@Excel(name = "所属路管驻点名称")
|
|
private String organizationName;
|
|
|
|
@ApiModelProperty("排班 1-白班 2-夜班")
|
|
@Excel(name = "班次(白班和夜班)",readConverterExp = "1=白班,2=夜班")
|
|
private String scheduling;
|
|
|
|
@ApiModelProperty("驻点id")
|
|
private Long station;
|
|
|
|
|
|
|
|
private JSONArray employeesJson;
|
|
|
|
public JSONArray getEmployeesJson() {
|
|
return employeesJson;
|
|
}
|
|
|
|
public void setEmployeesJson(JSONArray employeesJson) {
|
|
this.employeesJson = employeesJson;
|
|
}
|
|
|
|
private List<DcShiftsList> shiftsList;
|
|
|
|
public List<DcShiftsList> getShiftsList() {
|
|
return shiftsList;
|
|
}
|
|
|
|
public void setShiftsList(List<DcShiftsList> shiftsList) {
|
|
this.shiftsList = shiftsList;
|
|
}
|
|
|
|
public String getScheduling() {
|
|
return scheduling;
|
|
}
|
|
|
|
public Long getStation() {
|
|
return station;
|
|
}
|
|
|
|
public void setStation(Long station) {
|
|
this.station = station;
|
|
}
|
|
|
|
public void setScheduling(String scheduling) {
|
|
this.scheduling = scheduling;
|
|
}
|
|
|
|
public Long getIdBefore() {
|
|
return idBefore;
|
|
}
|
|
|
|
public void setIdBefore(Long idBefore) {
|
|
this.idBefore = idBefore;
|
|
}
|
|
|
|
public String getOrganizationName() {
|
|
return organizationName;
|
|
}
|
|
|
|
public void setOrganizationName(String organizationName) {
|
|
this.organizationName = organizationName;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getContactNumber() {
|
|
return contactNumber;
|
|
}
|
|
|
|
public void setContactNumber(String contactNumber) {
|
|
this.contactNumber = contactNumber;
|
|
}
|
|
|
|
public String getPostName() {
|
|
return postName;
|
|
}
|
|
|
|
public void setPostName(String postName) {
|
|
this.postName = postName;
|
|
}
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
|
|
public void setEmployeesId(Long employeesId)
|
|
{
|
|
this.employeesId = employeesId;
|
|
}
|
|
|
|
public Long getEmployeesId()
|
|
{
|
|
return employeesId;
|
|
}
|
|
public void setDate(Date date)
|
|
{
|
|
this.date = date;
|
|
}
|
|
|
|
public Date getDate()
|
|
{
|
|
return date;
|
|
}
|
|
public void setStartTime(Date startTime)
|
|
{
|
|
this.startTime = startTime;
|
|
}
|
|
|
|
public Date getStartTime()
|
|
{
|
|
return startTime;
|
|
}
|
|
public void setEndTime(Date endTime)
|
|
{
|
|
this.endTime = endTime;
|
|
}
|
|
|
|
public Date getEndTime()
|
|
{
|
|
return endTime;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("employeesId", getEmployeesId())
|
|
.append("date", getDate())
|
|
.append("startTime", getStartTime())
|
|
.append("endTime", getEndTime())
|
|
.append("remark", getRemark())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateTime", getUpdateTime())
|
|
.toString();
|
|
}
|
|
}
|
|
|