- 将迟到一级相关字段从 late1 重命名为 lateOne - 将迟到二级相关字段从 late2 重命名为 lateTwo - 将迟到一级扣款字段从 deduct1 重命名为 deductOne - 将迟到二级扣款字段从 deduct2 重命名为 deductTwo - 更新所有相关的 getter/setter 方法调用 - 修改映射文件中的字段映射配置 - 更新查询条件中的字段引用
84 lines
2.2 KiB
Java
84 lines
2.2 KiB
Java
package com.klp.domain.vo;
|
|
|
|
import java.math.BigDecimal;
|
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
import com.alibaba.excel.annotation.ExcelProperty;
|
|
import com.klp.common.annotation.ExcelDictFormat;
|
|
import com.klp.common.convert.ExcelDictConvert;
|
|
import lombok.Data;
|
|
|
|
|
|
/**
|
|
* 考勤规则(迟到/早退/旷工规则配置)视图对象 wms_attendance_rule
|
|
*
|
|
* @author klp
|
|
* @date 2026-05-12
|
|
*/
|
|
@Data
|
|
@ExcelIgnoreUnannotated
|
|
public class WmsAttendanceRuleVo {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
* 主键ID
|
|
*/
|
|
@ExcelProperty(value = "主键ID")
|
|
private Long ruleId;
|
|
|
|
/**
|
|
* 迟到警告阈值(分钟内仅警告,不扣款)
|
|
*/
|
|
@ExcelProperty(value = "迟到警告阈值", converter = ExcelDictConvert.class)
|
|
@ExcelDictFormat(readConverterExp = "分=钟内仅警告,不扣款")
|
|
private Long lateWarn;
|
|
|
|
/**
|
|
* 迟到一级阈值(分钟)
|
|
*/
|
|
@ExcelProperty(value = "迟到一级阈值", converter = ExcelDictConvert.class)
|
|
@ExcelDictFormat(readConverterExp = "分=钟")
|
|
private Long lateOne;
|
|
|
|
/**
|
|
* 迟到二级阈值(分钟)
|
|
*/
|
|
@ExcelProperty(value = "迟到二级阈值", converter = ExcelDictConvert.class)
|
|
@ExcelDictFormat(readConverterExp = "分=钟")
|
|
private Long lateTwo;
|
|
|
|
/**
|
|
* 迟到一级扣款(元/次)
|
|
*/
|
|
@ExcelProperty(value = "迟到一级扣款", converter = ExcelDictConvert.class)
|
|
@ExcelDictFormat(readConverterExp = "元=/次")
|
|
private BigDecimal deductOne;
|
|
|
|
/**
|
|
* 迟到二级扣款(元/次)
|
|
*/
|
|
@ExcelProperty(value = "迟到二级扣款", converter = ExcelDictConvert.class)
|
|
@ExcelDictFormat(readConverterExp = "元=/次")
|
|
private BigDecimal deductTwo;
|
|
|
|
/**
|
|
* 超过多少分钟按旷工半天处理
|
|
*/
|
|
@ExcelProperty(value = "超过多少分钟按旷工半天处理")
|
|
private Long absentHalfDay;
|
|
|
|
/**
|
|
* 连续旷工多少天自动离职
|
|
*/
|
|
@ExcelProperty(value = "连续旷工多少天自动离职")
|
|
private Long continuousAbsentDays;
|
|
|
|
/**
|
|
* 备注
|
|
*/
|
|
@ExcelProperty(value = "备注")
|
|
private String remark;
|
|
|
|
|
|
}
|