Files
klp-oa/klp-wms/src/main/java/com/klp/domain/vo/WmsEmployeeInfoVo.java
Joshi 7dcb779412 feat(employee): 添加员工转正状态管理功能
- 在WmsEmployeeInfo实体类中新增isRegular和regularTime字段
- 在WmsEmployeeInfoBo业务对象中添加转正相关属性定义
- 配置MyBatis映射文件中的转正状态字段映射关系
- 实现员工服务层中的转正状态查询条件过滤逻辑
- 在WmsEmployeeInfoVo视图对象中添加转正状态返回字段
2026-03-18 10:56:27 +08:00

137 lines
2.6 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;
// 是否转正0=未转正1=已转正
private Integer isRegular;
// 转正时间
@JsonFormat(pattern = "yyyy-MM-dd")
private Date regularTime;
}