Blame view

fw-morax-domain/src/main/java/cn/fw/morax/domain/vo/eval/EvalUserPoolVO.java 3.15 KB
ea6b2fd6   姜超   feature(*): 门店奖惩分配
1
2
3
  package cn.fw.morax.domain.vo.eval;
  
  import cn.fw.common.data.entity.BaseAuditableTimeEntity;
b5babc65   姜超   feature(*): 参数修改
4
5
  import cn.fw.morax.common.constant.Constant;
  import cn.fw.morax.common.utils.PublicUtil;
bdcc7a51   姜超   feature(*): 查询指标排名
6
7
  import cn.fw.morax.domain.enums.EvalTypeEnum;
  import cn.fw.morax.domain.enums.KpiIgnoreCauseEnum;
ea6b2fd6   姜超   feature(*): 门店奖惩分配
8
9
10
11
12
13
  import com.baomidou.mybatisplus.annotation.TableLogic;
  import com.baomidou.mybatisplus.annotation.TableName;
  import lombok.Data;
  import lombok.EqualsAndHashCode;
  
  import java.math.BigDecimal;
c06a04fb   姜超   feature(*): 考评指标详情
14
  import java.time.LocalDate;
ea6b2fd6   姜超   feature(*): 门店奖惩分配
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  import java.time.YearMonth;
  import java.util.List;
  
  /**
   * <p>
   * 考评池
   * </p>
   *
   * @author jiangchao
   * @since 2022-12-09
   */
  @Data
  @EqualsAndHashCode(callSuper = false)
  public class EvalUserPoolVO {
  
      private static final long serialVersionUID = 1L;
  
      /**
       * 考评池id
       */
      private Long id;
  
      /**
bdcc7a51   姜超   feature(*): 查询指标排名
38
39
40
41
42
       * 考评类型; 1:活动考评 2:其他考评
       */
      private EvalTypeEnum evalType;
  
      /**
ea6b2fd6   姜超   feature(*): 门店奖惩分配
43
44
45
46
       * 考评组编码
       */
      private String egc;
  
eccb0d64   姜超   feature(*): 考评详情查询
47
48
49
50
51
52
53
54
55
56
57
58
  
      /**
       * 考评编码
       */
      private String evalName;
  
  
      /**
       * 考评组编码
       */
      private String evalGroupName;
  
ea6b2fd6   姜超   feature(*): 门店奖惩分配
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
      /**
       * 考评id
       */
      private Long evalId;
      /**
       * 考评组id
       */
      private Long evalGroupId;
  
      /**
       * 用户id
       */
      private Long userId;
  
      /**
       * 用户名称
       */
      private String userName;
  
      /**
       * 岗位id
       */
      private Long postId;
  
      /**
       * 岗位名称
       */
      private String postName;
  
      /**
       * 门店id
       */
      private Long shopId;
  
      /**
       * 门店名称
       */
      private String shopName;
  
      /**
       * 社保公积金门店id
       */
      private Long fundShopId;
  
      /**
       * 社保公积金门店名称
       */
      private String fundShopName;
  
      /**
       * 考评奖惩
       */
      private BigDecimal reward;
  
      /**
e376b24c   姜超   feature(*): 修改个人考评
114
       * 本月考评得分(最终得分)
ea6b2fd6   姜超   feature(*): 门店奖惩分配
115
116
       */
      private BigDecimal score;
e376b24c   姜超   feature(*): 修改个人考评
117
118
119
120
121
122
123
124
125
126
127
128
129
      /**
       * 原始考评得分(无奖惩分)
       */
      private BigDecimal originScore;
  
      /**
       * 奖励绩效分
       */
      private BigDecimal rewardScore;
      /**
       * 惩罚绩效分
       */
      private BigDecimal punishScore;
ea6b2fd6   姜超   feature(*): 门店奖惩分配
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
  
      /**
       * 考评得分率
       */
      private BigDecimal scoreRatio;
  
      /**
       * 绩效总分
       */
      private BigDecimal totalScore;
  
      /**
       * 考评得分率(格式化)
       */
      private String scoreRatioFormat;
  
      /**
       * 月度
       */
      private YearMonth monthly;
  
      /**
c06a04fb   姜超   feature(*): 考评指标详情
152
153
154
155
156
       * 数据日期
       */
      private LocalDate dataDate;
  
      /**
ea6b2fd6   姜超   feature(*): 门店奖惩分配
157
158
159
160
161
162
163
164
165
166
       * 固定的
       */
      private Boolean regular;
  
      /**
       * 集团id
       */
      private Long groupId;
  
      /**
bdcc7a51   姜超   feature(*): 查询指标排名
167
168
169
170
171
172
173
174
175
       * 是否纳入考评计算
       */
      private Boolean inclusion;
      /**
       * 不计入原因;枚举待定
       */
      private KpiIgnoreCauseEnum ignoreCause;
  
      /**
ea6b2fd6   姜超   feature(*): 门店奖惩分配
176
177
178
179
180
181
182
183
       * 指标
       */
      private List<EvalPoolIndicatorDetailVO> indicators;
  
      /**
       * 奖励
       */
      private List<EvalPoolRewardDetailVO> rewards;
b5babc65   姜超   feature(*): 参数修改
184
185
186
187
188
189
  
      public void convertScoreRatio() {
          if (PublicUtil.isNotEmpty(this.getScoreRatio())) {
              this.setScoreRatio(this.getScoreRatio().multiply(Constant.ONE_HUNDRED));
          }
      }
ea6b2fd6   姜超   feature(*): 门店奖惩分配
190
  }