108 lines
3.3 KiB
Java
108 lines
3.3 KiB
Java
package com.evo.personnelMatters.domain;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
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_leave
|
|
*
|
|
* @author evo
|
|
* @date 2025-03-15
|
|
*/
|
|
@Data
|
|
public class RzLeave 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 = "到=月", dateFormat = "yyyy-MM")
|
|
// @JsonFormat(pattern = "yyyy-MM")
|
|
// private Date leaveDate;
|
|
|
|
/** 病假时长(小时) */
|
|
@Excel(name = "病假时长", readConverterExp = "小=时")
|
|
private Integer sickHours;
|
|
|
|
/** 事假时长(小时) */
|
|
@Excel(name = "事假时长", readConverterExp = "小=时")
|
|
private Integer absenceHours;
|
|
|
|
/** 调休假时长(小时) */
|
|
@Excel(name = "调休假时长", readConverterExp = "小=时")
|
|
private Integer compensatoryHours;
|
|
|
|
/** 婚假时长(小时) */
|
|
@Excel(name = "婚假时长", readConverterExp = "小=时")
|
|
private Integer marriageHours;
|
|
|
|
/** 年休假时长(小时) */
|
|
@Excel(name = "年休假时长", readConverterExp = "小=时")
|
|
private Integer annualHours;
|
|
|
|
/** 产假时长(小时) */
|
|
@Excel(name = "产假时长", readConverterExp = "小=时")
|
|
private Integer maternityHours;
|
|
|
|
/** 陪产假时长(小时) */
|
|
@Excel(name = "陪产假时长", readConverterExp = "小=时")
|
|
private Integer paternityHours;
|
|
|
|
/** 丧假时长(小时) */
|
|
@Excel(name = "丧假时长", readConverterExp = "小=时")
|
|
private Integer funeralHours;
|
|
|
|
/** 工伤假时长(小时) */
|
|
@Excel(name = "工伤假时长", readConverterExp = "小=时")
|
|
private Integer workHours;
|
|
|
|
/** 删除标识 */
|
|
private String 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("absenceHours", getAbsenceHours())
|
|
.append("compensatoryHours", getCompensatoryHours())
|
|
.append("marriageHours", getMarriageHours())
|
|
.append("annualHours", getAnnualHours())
|
|
.append("maternityHours", getMaternityHours())
|
|
.append("paternityHours", getPaternityHours())
|
|
.append("funeralHours", getFuneralHours())
|
|
.append("workHours", getWorkHours())
|
|
.append("delFlag", getDelFlag())
|
|
.append("createBy", getCreateBy())
|
|
.append("createTime", getCreateTime())
|
|
.append("updateBy", getUpdateBy())
|
|
.append("updateTime", getUpdateTime())
|
|
.toString();
|
|
}
|
|
}
|