Files
klp-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsEmployeeInfoBo.java
Joshi 20f4b24546 refactor(perf): 将员工绩效薪资信息整合到WMS员工模块中
- 删除独立的员工绩效薪资信息相关文件(接口、实体类、业务对象、控制器、映射器)
- 在WMS员工信息实体中新增底薪、岗位绩效基数和岗位系数字段
- 在WMS员工信息业务对象中添加对应的薪资相关属性
- 更新数据库映射文件,增加薪资字段的映射关系
- 修改WMS员工服务实现,添加对新增薪资字段的查询条件支持
- 在WMS员工信息视图对象中增加薪资相关字段并配置Excel导出属性
2026-07-09 14:28:23 +08:00

179 lines
3.3 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 java.math.BigDecimal;
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 BigDecimal baseSalary;
/**
* 岗位绩效基数(元), 默认≈底薪×20%
*/
private BigDecimal perfBase;
/**
* 默认岗位系数(初始值,后续月度由绩效自动覆盖)
*/
private BigDecimal posCoeffDefault;
/**
* 备注
*/
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 isSpicyEater;
// 是否转正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;
}