68 lines
1.8 KiB
Java
68 lines
1.8 KiB
Java
package com.evo.personnelMatters.domain;
|
|
|
|
import com.evo.common.annotation.Excel;
|
|
import com.evo.common.core.domain.BaseEntity;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* 加班管理对象 rz_over_time
|
|
*
|
|
* @author chenyj
|
|
* @date 2024-09-03
|
|
*/
|
|
@Data
|
|
public class RzOverTime extends BaseEntity
|
|
{
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/** 主键ID */
|
|
private Long id;
|
|
|
|
/** 部门ID */
|
|
private Long deptId;
|
|
@Excel(name = "部门")
|
|
private String deptName;
|
|
|
|
private Long userId;
|
|
|
|
/** 员工姓名 */
|
|
@Excel(name = "员工姓名")
|
|
private String name;
|
|
|
|
/** 加班月份(到月) */
|
|
@JsonFormat(pattern = "yyyy-MM")
|
|
@Excel(name = "加班月份", readConverterExp = "到=月", dateFormat = "yyyy-MM")
|
|
private Date overTimeMonth;
|
|
|
|
/** 加班总时长(月) */
|
|
@Excel(name = "加班总时长")
|
|
private BigDecimal overHours;
|
|
@Excel(name = "调休总时长")
|
|
private BigDecimal taskHours;
|
|
|
|
/** 删除标识 */
|
|
private String delFlag;
|
|
|
|
|
|
@Override
|
|
public String toString() {
|
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
.append("id", getId())
|
|
.append("dept", getDeptId())
|
|
.append("overTimeMonth", getOverTimeMonth())
|
|
.append("overHours", getOverHours())
|
|
.append("delFlag", getDelFlag())
|
|
.append("createBy", getCreateBy())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateBy", getUpdateBy())
|
|
.append("updateTime", getUpdateTime())
|
|
.toString();
|
|
}
|
|
}
|