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

160 lines
2.9 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.bo;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
/**
* 员工信息业务对象 wms_employee_info
*
* @author klp
* @date 2026-03-02
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsEmployeeInfoBo extends BaseEntity {
/**
* 主键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;
/**
* 入职时间开始
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date entryStartTime;
/**
* 入职时间结束
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date entryEndTime;
/**
* 紧急联系人
*/
private String emergencyContact;
/**
* 关系
*/
private String relationship;
/**
* 紧急联系人电话
*/
private String emergencyContactPhone;
/**
* 社保类型(三险/五险)
*/
private String socialInsuranceType;
/**
* 备注
*/
private String remark;
// 是否离职
private Integer isLeave;
// 离职时间
private Date leaveTime;
// 离职时间开始
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date leaveStartTime;
// 离职时间结束
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date leaveEndTime;
// 是否转正0=未转正1=已转正
private Integer isRegular;
// 转正时间
@JsonFormat(pattern = "yyyy-MM-dd")
private Date regularTime;
// 转正开始时间
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date regularStartTime;
// 转正结束时间
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date regularEndTime;
private Boolean sortByRegularTime;
private Boolean sortByEntryTime;
}