package com.yuanchu.mom.pojo; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import java.io.Serializable; import java.time.LocalDateTime; import com.yuanchu.mom.annotation.ValueTableShow; import com.yuanchu.mom.common.OrderBy; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** *
* 人员考评 *
* * @author 江苏鵷雏网络科技有限公司 * @since 2024-06-17 01:32:45 */ @Getter @Setter @ApiModel(value = "Evaluate对象", description = "人员考评") public class Evaluate extends OrderBy implements Serializable { @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty("外键 关联用户id") private Integer userId; @ValueTableShow(value = 1, name = "工号") @TableField(exist = false,select = false) private String account; @ValueTableShow(value = 2, name = "姓名") @TableField(exist = false,select = false) private String name; @ValueTableShow(value = 3, name = "员工互评") @TableField(exist = false,select = false) private Double groupTotal; @ValueTableShow(value = 4, name = "组长评分") @TableField(exist = false,select = false) private Double leaderTotal; @ValueTableShow(value = 5, name = "主管评分") @TableField(exist = false,select = false) private Double competentTotal; @ApiModelProperty("考评得分") @ValueTableShow(6) private Double score; @ApiModelProperty("考评等级") @ValueTableShow(7) private String grade; @ApiModelProperty("月份") private String month; @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @TableField(fill = FieldFill.INSERT) private Integer createUser; @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; }