Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsEmployeeInfoVo.java
Joshi 876bb48b1d feat(employee): 添加员工离职时间字段及查询功能
- 在WmsEmployeeInfo实体类中添加离职时间字段
- 在WmsEmployeeInfoBo业务对象中添加离职时间及相关查询条件字段
- 在WmsEmployeeInfoVo视图对象中添加离职时间字段并配置日期格式
- 更新MyBatis映射文件添加离职时间字段映射
- 实现离职时间范围查询功能支持
2026-03-24 14:48:45 +08:00

141 lines
2.7 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain.vo;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
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_employee_info
*
* @author klp
* @date 2026-03-02
*/
@Data
@ExcelIgnoreUnannotated
public class WmsEmployeeInfoVo {
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@ExcelProperty(value = "主键ID")
private Long infoId;
/**
* 序号
*/
@ExcelProperty(value = "序号")
private Long serialNumber;
/**
* 部门
*/
@ExcelProperty(value = "部门")
private String dept;
/**
* 岗位工种
*/
@ExcelProperty(value = "岗位工种")
private String jobType;
/**
* 姓名
*/
@ExcelProperty(value = "姓名")
private String name;
/**
* 身份证号
*/
@ExcelProperty(value = "身份证号")
private String idCard;
/**
* 年龄
*/
@ExcelProperty(value = "年龄")
private Long age;
/**
* 性别(男/女)
*/
@ExcelProperty(value = "性别", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "男=/女")
private String gender;
/**
* 学历
*/
@ExcelProperty(value = "学历")
private String education;
/**
* 家庭住址
*/
@ExcelProperty(value = "家庭住址")
private String homeAddress;
/**
* 联系电话
*/
@ExcelProperty(value = "联系电话")
private String phone;
/**
* 入职时间
*/
@ExcelProperty(value = "入职时间")
private Date entryTime;
/**
* 紧急联系人
*/
@ExcelProperty(value = "紧急联系人")
private String emergencyContact;
/**
* 关系
*/
@ExcelProperty(value = "关系")
private String relationship;
/**
* 紧急联系人电话
*/
@ExcelProperty(value = "紧急联系人电话")
private String emergencyContactPhone;
/**
* 社保类型(三险/五险)
*/
private String socialInsuranceType;
/**
* 备注
*/
@ExcelProperty(value = "备注")
private String remark;
// 是否离职
private Integer isLeave;
// 离职时间
@JsonFormat(pattern = "yyyy-MM-dd")
private Date leaveTime;
// 是否转正0=未转正1=已转正
private Integer isRegular;
// 转正时间
@JsonFormat(pattern = "yyyy-MM-dd")
private Date regularTime;
}