SalaryGroup.java
1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package cn.fw.morax.domain.db.salary;
import cn.fw.common.data.entity.BaseAuditableTimeEntity;
import cn.fw.common.data.mybatis.handler.LongListTypeHandler;
import cn.fw.common.data.mybatis.handler.StringListTypeHandler;
import cn.fw.morax.domain.enums.SettingStatusEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDate;
import java.util.List;
/**
* @author : kurisu
* @date : 2022-4-6
* @desc : 薪酬组配置
*/
@Data
@TableName(autoResultMap = true)
@EqualsAndHashCode(callSuper = true)
public class SalaryGroup extends BaseAuditableTimeEntity<SalaryGroup, Long> {
/**
* 名称
*/
private String name;
/**
* 薪酬组编码
*/
private String sgc;
/**
* 岗位id
*/
private Long postId;
/**
* 岗位名称
*/
private String postName;
/**
* 适用门店ids
*/
@TableField(typeHandler = LongListTypeHandler.class)
private List<Long> shopIds;
/**
* 适用门店名称
*/
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> shopNames;
/**
* 前次配置id
*/
private Long preId;
/**
* 生效时间
*/
private LocalDate beginTime;
/**
* 失效时间
*/
private LocalDate overTime;
/**
* 调整原因
*/
private String reason;
/**
* 附件ids
*/
@TableField(typeHandler = StringListTypeHandler.class)
private List<String> attachment;
/**
* 状态;1:审批中 2:待生效 3:生效中 4:已失效
*/
private SettingStatusEnum status;
/**
* 包薪酬项数量;只统计可配置的的项目数
*/
private Integer projectNum;
/**
* 集团id
*/
private Long groupId;
/**
* 逻辑删除
*/
private Boolean yn;
}