136 lines
2.9 KiB
Java
136 lines
2.9 KiB
Java
package com.evo.attendance.domain;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
import com.evo.common.annotation.Excel;
|
|
import com.evo.common.core.domain.BaseEntity;
|
|
|
|
/**
|
|
* 特殊加班管理对象 rz_special_over_time
|
|
*
|
|
* @author evo
|
|
* @date 2025-04-16
|
|
*/
|
|
public class RzSpecialOverTime extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键ID */
|
|
private Long id;
|
|
|
|
/** 员工ID */
|
|
@Excel(name = "员工ID")
|
|
private Long userId;
|
|
|
|
/** 部门 */
|
|
private Long deptId;
|
|
@Excel(name = "部门")
|
|
private String deptName;
|
|
/** 员工姓名 */
|
|
@Excel(name = "员工姓名")
|
|
private String name;
|
|
|
|
/** 加班月份(到月) */
|
|
@Excel(name = "加班月份", readConverterExp = "到=月")
|
|
@JsonFormat(pattern = "yyyy-MM")
|
|
private Date overDate;
|
|
|
|
/** 加班时长(小时) */
|
|
@Excel(name = "加班时长", readConverterExp = "小=时")
|
|
private BigDecimal sickHours;
|
|
|
|
/** 删除标识 */
|
|
private String delFlag;
|
|
|
|
public String getDeptName() {
|
|
return deptName;
|
|
}
|
|
|
|
public void setDeptName(String deptName) {
|
|
this.deptName = deptName;
|
|
}
|
|
|
|
public void setId(Long id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getId()
|
|
{
|
|
return id;
|
|
}
|
|
public void setUserId(Long userId)
|
|
{
|
|
this.userId = userId;
|
|
}
|
|
|
|
public Long getUserId()
|
|
{
|
|
return userId;
|
|
}
|
|
public void setDeptId(Long deptId)
|
|
{
|
|
this.deptId = deptId;
|
|
}
|
|
|
|
public Long getDeptId()
|
|
{
|
|
return deptId;
|
|
}
|
|
public void setName(String name)
|
|
{
|
|
this.name = name;
|
|
}
|
|
|
|
public String getName()
|
|
{
|
|
return name;
|
|
}
|
|
|
|
public Date getOverDate() {
|
|
return overDate;
|
|
}
|
|
|
|
public void setOverDate(Date overDate) {
|
|
this.overDate = overDate;
|
|
}
|
|
|
|
public void setSickHours(BigDecimal sickHours)
|
|
{
|
|
this.sickHours = sickHours;
|
|
}
|
|
|
|
public BigDecimal getSickHours()
|
|
{
|
|
return sickHours;
|
|
}
|
|
public void setDelFlag(String delFlag)
|
|
{
|
|
this.delFlag = delFlag;
|
|
}
|
|
|
|
public String getDelFlag()
|
|
{
|
|
return delFlag;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("userId", getUserId())
|
|
.append("deptId", getDeptId())
|
|
.append("name", getName())
|
|
.append("sickHours", getSickHours())
|
|
.append("delFlag", getDelFlag())
|
|
.append("createBy", getCreateBy())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateBy", getUpdateBy())
|
|
.append("updateTime", getUpdateTime())
|
|
.toString();
|
|
}
|
|
}
|