Blame view

fw-morax-domain/src/main/java/cn/fw/morax/domain/vo/eval/EvalShopPoolVO.java 2.03 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
      /**
edc57409   姜超   feature(*): 考评奖惩分配
32
33
34
       * 考评组编码
       */
      private String egc;
edc57409   姜超   feature(*): 考评奖惩分配
35
36
37
38
      /**
       * 考评组id
       */
      private Long evalGroupId;
c1b3c16f   姜超   feature(*): 门店考评池查询
39
      /**
2ac0c565   姜超   feature(*): 修改个人考评
40
       * 考评排名组id
c1b3c16f   姜超   feature(*): 门店考评池查询
41
       */
2ac0c565   姜超   feature(*): 修改个人考评
42
43
44
45
46
      private Long evalGroupRankId;
      /**
       * 考评排名组阶段id
       */
      private Long evalGroupRankStageId;
edc57409   姜超   feature(*): 考评奖惩分配
47
48
49
50
51
52
53
54
55
56
57
  
      /**
       * 门店id
       */
      private Long shopId;
  
      /**
       * 门店名称
       */
      private String shopName;
  
edc57409   姜超   feature(*): 考评奖惩分配
58
59
60
61
62
63
64
65
66
67
      /**
       * 考评奖惩
       */
      private BigDecimal reward;
  
      /**
       * 考评得分
       */
      private BigDecimal score;
  
c1b3c16f   姜超   feature(*): 门店考评池查询
68
69
70
71
72
73
      /**
       * 考评得分率
       */
      private BigDecimal scoreRatio;
  
      /**
2ac0c565   姜超   feature(*): 修改个人考评
74
       * 排名
c1b3c16f   姜超   feature(*): 门店考评池查询
75
       */
2ac0c565   姜超   feature(*): 修改个人考评
76
      private Integer rank;
edc57409   姜超   feature(*): 考评奖惩分配
77
78
79
80
  
      /**
       * 月度
       */
2ac0c565   姜超   feature(*): 修改个人考评
81
      private YearMonth monthly;
c1b3c16f   姜超   feature(*): 门店考评池查询
82
83
84
85
86
87
  
      /**
       * 数据日期
       */
      private LocalDate dataDate;
  
edc57409   姜超   feature(*): 考评奖惩分配
88
89
90
91
92
93
94
95
96
97
98
      /**
       * 固定的
       */
      private EvalShopPoolStatusEnum status;
  
      /**
       * 集团id
       */
      private Long groupId;
  
      /**
c1b3c16f   姜超   feature(*): 门店考评池查询
99
100
101
102
103
104
       * 指标
       */
      private List<EvalPoolIndicatorDetailVO> indicators;
  
      /**
       * 奖励
edc57409   姜超   feature(*): 考评奖惩分配
105
       */
c1b3c16f   姜超   feature(*): 门店考评池查询
106
      private List<EvalPoolRewardDetailVO> rewards;
edc57409   姜超   feature(*): 考评奖惩分配
107
  
b5babc65   姜超   feature(*): 参数修改
108
109
110
111
112
113
      public void convertScoreRatio() {
          if (PublicUtil.isNotEmpty(this.getScoreRatio())) {
              this.setScoreRatio(this.getScoreRatio().multiply(Constant.ONE_HUNDRED));
          }
      }
  
edc57409   姜超   feature(*): 考评奖惩分配
114
  }