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;
|
}
|
|
}
|