package com.ruoyi.performance.pojo; import com.alibaba.excel.annotation.ExcelIgnore; import com.alibaba.excel.annotation.ExcelProperty; import com.baomidou.mybatisplus.annotation.*; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.time.LocalDateTime; @Getter @Setter @ApiModel(value = "Evaluate对象", description = "人员考评") public class Evaluate { @TableId(value = "id", type = IdType.AUTO) @ExcelIgnore private Integer id; @ApiModelProperty("外键 关联用户id") @ExcelIgnore private Integer userId; @TableField(exist = false,select = false) @ExcelProperty(value = "工号") private String account; @TableField(exist = false,select = false) @ExcelProperty(value = "姓名") private String name; @TableField(exist = false,select = false) //实验室 private String departLims; @TableField(exist = false,select = false) @ExcelProperty(value = "员工互评") private Double groupTotal; @TableField(exist = false,select = false) @ExcelProperty(value = "员工互评") private Double leaderTotal; @TableField(exist = false,select = false) @ExcelProperty(value = "主管评分") private Double competentTotal; @ApiModelProperty("考评得分") @ExcelProperty(value = "考评得分") private Double score; @ApiModelProperty("考评等级") @ExcelProperty(value = "考评等级") private String grade; @ApiModelProperty("月份") @ExcelIgnore private String month; @TableField(fill = FieldFill.INSERT) @ExcelIgnore private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) @ExcelIgnore private LocalDateTime updateTime; @TableField(fill = FieldFill.INSERT) @ExcelIgnore private Integer createUser; @TableField(fill = FieldFill.INSERT_UPDATE) @ExcelIgnore private Integer updateUser; }