Files
klp-oa/klp-perf/src/main/java/com/klp/perf/domain/PerfDeptConfig.java
Joshi 137a13606b refactor(perf): 重构车间考核参数配置实体类结构
- 移除 JsonFormat 注解依赖
- 将 createdAt 和 updatedAt 字段替换为 createTime、createBy、updateTime、updateBy 字段
- 添加 delFlag 删除标志字段并配置 TableLogic 注解
- 更新备注字段的注释说明
- 修改查询条件构建逻辑以适配新字段结构
- 更新数据映射配置以匹配数据库表结构变化
2026-07-09 14:09:18 +08:00

81 lines
1.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.perf.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.math.BigDecimal;
import java.util.Date;
/**
* 车间考核参数配置对象 perf_dept_config
*
* @author klp
* @date 2026-07-07
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("perf_dept_config")
public class PerfDeptConfig extends BaseEntity {
private static final long serialVersionUID=1L;
/**
*
*/
@TableId(value = "id")
private Long id;
/**
* 关联 perf_dept.id
*/
private Long deptId;
/**
* 月产量目标(吨) 或 月产长度目标(m)
*/
private BigDecimal monthlyProductionTarget;
/**
* 产量单位: 吨 / m
*/
private String productionUnit;
/**
* 绩效吨钢(元) 或 绩效米钢(元)
*/
private BigDecimal perfUnitPrice;
/**
* 生产班数
*/
private Long productionShifts;
/**
* 停机保底班数
*/
private Long guaranteedShifts;
/**
* 车间系数(默认1.0)
*/
private BigDecimal deptCoeff;
/**
* 薪资模式: 0=普通模式 1=保底模式(hasBaoSalary)
*/
private Long salaryMode;
/**
* 保底薪资除数(底薪÷60=保底每班金额)
*/
private Long baseDivisor;
/**
* 月份
*/
private Date month;
/**
* 备注
*/
private String remark;
/**
* 删除标志0=正常 1=已删除)
*/
@TableLogic
private Integer delFlag;
}