Blame view

fw-morax-domain/src/main/java/cn/fw/morax/domain/vo/eval/EvalShopPoolVO.java 2.24 KB
edc57409   姜超   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;
edc57409   姜超   feature(*): 考评奖惩分配
6
  import cn.fw.morax.domain.enums.EvalShopPoolStatusEnum;
c1b3c16f   姜超   feature(*): 门店考评池查询
7
  import cn.fw.morax.domain.enums.EvalTypeEnum;
edc57409   姜超   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;
c1b3c16f   姜超   feature(*): 门店考评池查询
14
  import java.time.LocalDate;
2ac0c565   姜超   feature(*): 修改个人考评
15
  import java.time.YearMonth;
c1b3c16f   姜超   feature(*): 门店考评池查询
16
  import java.util.List;
edc57409   姜超   feature(*): 考评奖惩分配
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  
  /**
   * <p>
   * 考评池
   * </p>
   *
   * @author jiangchao
   * @since 2022-12-09
   */
  @Data
  @EqualsAndHashCode(callSuper = false)
  public class EvalShopPoolVO {
  
      private static final long serialVersionUID = 1L;
c1b3c16f   姜超   feature(*): 门店考评池查询
31
      /**
f945186c   姜超   feature(*): 修改个人考评
32
33
34
35
       * id
       */
      private Long id;
      /**
edc57409   姜超   feature(*): 考评奖惩分配
36
37
38
       * 考评组编码
       */
      private String egc;
edc57409   姜超   feature(*): 考评奖惩分配
39
40
41
42
      /**
       * 考评组id
       */
      private Long evalGroupId;
c1b3c16f   姜超   feature(*): 门店考评池查询
43
      /**
2ac0c565   姜超   feature(*): 修改个人考评
44
       * 考评排名组id
c1b3c16f   姜超   feature(*): 门店考评池查询
45
       */
2ac0c565   姜超   feature(*): 修改个人考评
46
47
48
49
50
      private Long evalGroupRankId;
      /**
       * 考评排名组阶段id
       */
      private Long evalGroupRankStageId;
edc57409   姜超   feature(*): 考评奖惩分配
51
52
53
54
55
56
57
58
59
60
61
  
      /**
       * 门店id
       */
      private Long shopId;
  
      /**
       * 门店名称
       */
      private String shopName;
  
edc57409   姜超   feature(*): 考评奖惩分配
62
63
64
65
66
67
68
69
70
71
      /**
       * 考评奖惩
       */
      private BigDecimal reward;
  
      /**
       * 考评得分
       */
      private BigDecimal score;
  
c1b3c16f   姜超   feature(*): 门店考评池查询
72
73
74
75
76
77
      /**
       * 考评得分率
       */
      private BigDecimal scoreRatio;
  
      /**
f945186c   姜超   feature(*): 修改个人考评
78
79
80
81
82
83
84
85
86
87
       * 绩效总分
       */
      private BigDecimal totalScore;
  
      /**
       * 考评得分率(格式化)
       */
      private String scoreRatioFormat;
  
      /**
2ac0c565   姜超   feature(*): 修改个人考评
88
       * 排名
c1b3c16f   姜超   feature(*): 门店考评池查询
89
       */
2ac0c565   姜超   feature(*): 修改个人考评
90
      private Integer rank;
edc57409   姜超   feature(*): 考评奖惩分配
91
92
93
94
  
      /**
       * 月度
       */
2ac0c565   姜超   feature(*): 修改个人考评
95
      private YearMonth monthly;
c1b3c16f   姜超   feature(*): 门店考评池查询
96
97
98
99
100
101
  
      /**
       * 数据日期
       */
      private LocalDate dataDate;
  
edc57409   姜超   feature(*): 考评奖惩分配
102
103
104
105
106
107
108
109
110
111
112
      /**
       * 固定的
       */
      private EvalShopPoolStatusEnum status;
  
      /**
       * 集团id
       */
      private Long groupId;
  
      /**
c1b3c16f   姜超   feature(*): 门店考评池查询
113
114
115
116
117
118
       * 指标
       */
      private List<EvalPoolIndicatorDetailVO> indicators;
  
      /**
       * 奖励
edc57409   姜超   feature(*): 考评奖惩分配
119
       */
c1b3c16f   姜超   feature(*): 门店考评池查询
120
      private List<EvalPoolRewardDetailVO> rewards;
edc57409   姜超   feature(*): 考评奖惩分配
121
  
b5babc65   姜超   feature(*): 参数修改
122
123
124
125
126
127
      public void convertScoreRatio() {
          if (PublicUtil.isNotEmpty(this.getScoreRatio())) {
              this.setScoreRatio(this.getScoreRatio().multiply(Constant.ONE_HUNDRED));
          }
      }
  
edc57409   姜超   feature(*): 考评奖惩分配
128
  }