- 在WmsEmployeeInfo实体类中添加离职时间字段 - 在WmsEmployeeInfoBo业务对象中添加离职时间及相关查询条件字段 - 在WmsEmployeeInfoVo视图对象中添加离职时间字段并配置日期格式 - 更新MyBatis映射文件添加离职时间字段映射 - 实现离职时间范围查询功能支持
112 lines
2.0 KiB
Java
112 lines
2.0 KiB
Java
package com.klp.domain;
|
||
|
||
import com.baomidou.mybatisplus.annotation.*;
|
||
import com.klp.common.core.domain.BaseEntity;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
import java.util.Date;
|
||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
||
/**
|
||
* 员工信息对象 wms_employee_info
|
||
*
|
||
* @author klp
|
||
* @date 2026-03-02
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = true)
|
||
@TableName("wms_employee_info")
|
||
public class WmsEmployeeInfo extends BaseEntity {
|
||
|
||
private static final long serialVersionUID=1L;
|
||
|
||
/**
|
||
* 主键ID
|
||
*/
|
||
@TableId(value = "info_id")
|
||
private Long infoId;
|
||
/**
|
||
* 序号
|
||
*/
|
||
private Long serialNumber;
|
||
/**
|
||
* 部门
|
||
*/
|
||
private String dept;
|
||
/**
|
||
* 岗位工种
|
||
*/
|
||
private String jobType;
|
||
/**
|
||
* 姓名
|
||
*/
|
||
private String name;
|
||
/**
|
||
* 身份证号
|
||
*/
|
||
private String idCard;
|
||
/**
|
||
* 年龄
|
||
*/
|
||
private Long age;
|
||
/**
|
||
* 性别(男/女)
|
||
*/
|
||
private String gender;
|
||
/**
|
||
* 学历
|
||
*/
|
||
private String education;
|
||
/**
|
||
* 家庭住址
|
||
*/
|
||
private String homeAddress;
|
||
/**
|
||
* 联系电话
|
||
*/
|
||
private String phone;
|
||
/**
|
||
* 入职时间
|
||
*/
|
||
private Date entryTime;
|
||
/**
|
||
* 紧急联系人
|
||
*/
|
||
private String emergencyContact;
|
||
/**
|
||
* 关系
|
||
*/
|
||
private String relationship;
|
||
/**
|
||
* 紧急联系人电话
|
||
*/
|
||
private String emergencyContactPhone;
|
||
/**
|
||
* 社保类型(三险/五险)
|
||
*/
|
||
private String socialInsuranceType;
|
||
/**
|
||
* 逻辑删除标识:0=正常,1=已删
|
||
*/
|
||
@TableLogic
|
||
private Integer delFlag;
|
||
/**
|
||
* 备注
|
||
*/
|
||
private String remark;
|
||
|
||
// 是否离职
|
||
private Integer isLeave;
|
||
|
||
// 离职时间
|
||
private Date leaveTime;
|
||
|
||
// 是否转正:0=未转正,1=已转正
|
||
private Integer isRegular;
|
||
|
||
// 转正时间
|
||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||
private Date regularTime;
|
||
}
|