You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.4 KiB
58 lines
1.4 KiB
package com.spring.modules.base.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
|
|
@TableName("labor_class")
|
|
@Data
|
|
public class PersonnelLevel {
|
|
/**
|
|
* 工厂编号
|
|
*/
|
|
private String site;
|
|
/**
|
|
* 等级编码
|
|
*/
|
|
private String levelId;
|
|
/**
|
|
* 等级描述
|
|
*/
|
|
private String levelDesc;
|
|
/**
|
|
* 等级成本
|
|
*/
|
|
private BigDecimal levelCost;
|
|
/**
|
|
* 是否可用
|
|
*/
|
|
private String active;
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
@TableField(fill = FieldFill.INSERT,updateStrategy = FieldStrategy.NEVER)
|
|
private Date createDate;
|
|
|
|
private String createBy;
|
|
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
@TableField(fill = FieldFill.UPDATE,insertStrategy = FieldStrategy.NEVER)
|
|
private Date updateDate;
|
|
|
|
private String updateBy;
|
|
|
|
private String ifsRowVersion;
|
|
private String showInQueryFlag;
|
|
|
|
public String getKey() {
|
|
return site + "-" + levelId;
|
|
}
|
|
}
|