package com.gkhy.safePlatform.account.entity.schedule; import com.fasterxml.jackson.annotation.JsonFormat; import java.util.Date; /** * 工作时间段表与关系表返回对象 */ public class WorkTimePeriodRelationDO { //ID private Long relationId; //时间组ID private Long workTimeGroupId; //时间段ID private Long workTimePeriodId; //时间段名称 private String name; //描述 private String info; //状态 private Byte status; //开始时间-时 private Integer startHour; //开始时间-分 private Integer startMin; //结束时间-时 private Integer endHour; //结束时间-分 private Integer endMin; //工作时长 private Double workHours; //是否跨天 private Byte enableAcrossDay; //创建时间 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date gmtCreate; //创建人名称 private String createBy; //创建人id private Long createUid; //修改时间 @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss") private Date gmtModified; //修改该人名称 private String editBy; //修改人id private Long editUid; public Long getRelationId() { return relationId; } public void setRelationId(Long relationId) { this.relationId = relationId; } public Long getWorkTimeGroupId() { return workTimeGroupId; } public void setWorkTimeGroupId(Long workTimeGroupId) { this.workTimeGroupId = workTimeGroupId; } public Long getWorkTimePeriodId() { return workTimePeriodId; } public void setWorkTimePeriodId(Long workTimePeriodId) { this.workTimePeriodId = workTimePeriodId; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info; } public Byte getStatus() { return status; } public void setStatus(Byte status) { this.status = status; } public Integer getStartHour() { return startHour; } public void setStartHour(Integer startHour) { this.startHour = startHour; } public Integer getStartMin() { return startMin; } public void setStartMin(Integer startMin) { this.startMin = startMin; } public Integer getEndHour() { return endHour; } public void setEndHour(Integer endHour) { this.endHour = endHour; } public Integer getEndMin() { return endMin; } public void setEndMin(Integer endMin) { this.endMin = endMin; } public Double getWorkHours() { return workHours; } public void setWorkHours(Double workHours) { this.workHours = workHours; } public Byte getEnableAcrossDay() { return enableAcrossDay; } public void setEnableAcrossDay(Byte enableAcrossDay) { this.enableAcrossDay = enableAcrossDay; } public Date getGmtCreate() { return gmtCreate; } public void setGmtCreate(Date gmtCreate) { this.gmtCreate = gmtCreate; } public String getCreateBy() { return createBy; } public void setCreateBy(String createBy) { this.createBy = createBy; } public Long getCreateUid() { return createUid; } public void setCreateUid(Long createUid) { this.createUid = createUid; } public Date getGmtModified() { return gmtModified; } public void setGmtModified(Date gmtModified) { this.gmtModified = gmtModified; } public String getEditBy() { return editBy; } public void setEditBy(String editBy) { this.editBy = editBy; } public Long getEditUid() { return editUid; } public void setEditUid(Long editUid) { this.editUid = editUid; } }