xiaoyi
4 天以前 c9d4ba37c1f681b12e24014013fa9a28734bad42
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
package cn.iocoder.yudao.module.hrm.controller.admin.performanceappraise.vo;
 
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * HRM 绩效考核结果 Response VO(按员工聚合)
 */
@Schema(description = "HRM 绩效考核结果 Response VO(按员工聚合)")
@Data
public class HrmPerformanceAppraiseResultRespVO {
 
    @Schema(description = "编号", example = "1")
    private Long id;
 
    @Schema(description = "考核方案编号", example = "1")
    private Long appraiseId;
 
    @Schema(description = "员工编号", example = "100")
    private Long employeeId;
 
    @Schema(description = "员工名称", example = "张三")
    @ExcelProperty("员工")
    private String employeeName;
 
    @Schema(description = "自评总分", example = "90.00")
    @ExcelProperty("自评总分")
    private BigDecimal selfScore;
 
    @Schema(description = "上级评总分", example = "85.00")
    @ExcelProperty("上级评总分")
    private BigDecimal superiorScore;
 
    @Schema(description = "综合得分", example = "87.50")
    @ExcelProperty("综合得分")
    private BigDecimal finalScore;
 
    @Schema(description = "档级", example = "2")
    @ExcelProperty(value = "档级", converter = DictConvert.class)
    @DictFormat(cn.iocoder.yudao.module.hrm.enums.DictTypeConstants.HRM_PERFORMANCE_GRADE)
    private Integer grade;
 
    @Schema(description = "评语")
    @ExcelProperty("评语")
    private String comment;
 
    @Schema(description = "指标评分明细")
    private List<Item> items;
 
    @Schema(description = "指标评分明细项")
    @Data
    public static class Item {
 
        @Schema(description = "结果明细编号", example = "1")
        private Long id;
 
        @Schema(description = "考核指标编号", example = "1")
        private Long itemId;
 
        @Schema(description = "指标名称", example = "工作业绩")
        private String itemName;
 
        @Schema(description = "权重", example = "30.00")
        private BigDecimal weight;
 
        @Schema(description = "自评得分", example = "90.00")
        private BigDecimal selfScore;
 
        @Schema(description = "上级评得分", example = "85.00")
        private BigDecimal superiorScore;
    }
 
}