| | |
| | | package com.ycl.platform.domain.entity; |
| | | |
| | | import annotation.Excel; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.system.entity.BaseEntity; |
| | | import org.apache.commons.lang.builder.ToStringBuilder; |
| | | import org.apache.commons.lang.builder.ToStringStyle; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.time.LocalDateTime; |
| | | import com.ycl.platform.base.AbsEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | /** |
| | | * 考核结果对象 t_check_result |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-01 |
| | | * 考核结果 |
| | | * |
| | | * @author xp |
| | | * @since 2024-03-07 |
| | | */ |
| | | public class CheckResult extends BaseEntity |
| | | { |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @TableName("t_check_result") |
| | | @ApiModel(value = "CheckResult对象", description = "考核结果") |
| | | public class CheckResult extends AbsEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private Long id; |
| | | @ApiModelProperty("考核对象") |
| | | @TableField("check_unit_id") |
| | | private Integer checkUnitId; |
| | | |
| | | /** 考核对象 */ |
| | | @Excel(name = "考核对象") |
| | | private Long deptId; |
| | | @ApiModelProperty("考核发布") |
| | | @TableField("check_publish_id") |
| | | private Integer checkPublishId; |
| | | |
| | | /** 考核发布 */ |
| | | @Excel(name = "考核发布") |
| | | private Long publishId; |
| | | |
| | | /** 考核类型 */ |
| | | @Excel(name = "考核类型") |
| | | private Long examineCategory; |
| | | |
| | | /** 考核分数 */ |
| | | @Excel(name = "考核分数") |
| | | @ApiModelProperty("最终分数") |
| | | @TableField("check_score") |
| | | private BigDecimal checkScore; |
| | | |
| | | /** 是否发布 */ |
| | | @Excel(name = "是否发布") |
| | | private Long publish; |
| | | @ApiModelProperty("系统打分") |
| | | @TableField("system_score") |
| | | private BigDecimal systemScore; |
| | | |
| | | /** 考核时间 */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "考核时间", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date checkTime; |
| | | @ApiModelProperty("人工打分") |
| | | @TableField("manual_score") |
| | | private BigDecimal manualScore; |
| | | |
| | | /** 逻辑删除 */ |
| | | private String deleted; |
| | | @ApiModelProperty("考核时间") |
| | | @TableField("check_time") |
| | | private LocalDateTime checkTime; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | @ApiModelProperty("是否发布") |
| | | @TableField("publish") |
| | | private Integer publish; |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setDeptId(Long deptId) |
| | | { |
| | | this.deptId = deptId; |
| | | } |
| | | |
| | | public Long getDeptId() |
| | | { |
| | | return deptId; |
| | | } |
| | | public void setPublishId(Long publishId) |
| | | { |
| | | this.publishId = publishId; |
| | | } |
| | | |
| | | public Long getPublishId() |
| | | { |
| | | return publishId; |
| | | } |
| | | public void setExamineCategory(Long examineCategory) |
| | | { |
| | | this.examineCategory = examineCategory; |
| | | } |
| | | |
| | | public Long getExamineCategory() |
| | | { |
| | | return examineCategory; |
| | | } |
| | | public void setCheckScore(BigDecimal checkScore) |
| | | { |
| | | this.checkScore = checkScore; |
| | | } |
| | | |
| | | public BigDecimal getCheckScore() |
| | | { |
| | | return checkScore; |
| | | } |
| | | public void setPublish(Long publish) |
| | | { |
| | | this.publish = publish; |
| | | } |
| | | |
| | | public Long getPublish() |
| | | { |
| | | return publish; |
| | | } |
| | | public void setCheckTime(Date checkTime) |
| | | { |
| | | this.checkTime = checkTime; |
| | | } |
| | | |
| | | public Date getCheckTime() |
| | | { |
| | | return checkTime; |
| | | } |
| | | public void setDeleted(String deleted) |
| | | { |
| | | this.deleted = deleted; |
| | | } |
| | | |
| | | public String getDeleted() |
| | | { |
| | | return deleted; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("deptId", getDeptId()) |
| | | .append("publishId", getPublishId()) |
| | | .append("examineCategory", getExamineCategory()) |
| | | .append("checkScore", getCheckScore()) |
| | | .append("publish", getPublish()) |
| | | .append("checkTime", getCheckTime()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("deleted", getDeleted()) |
| | | .toString(); |
| | | } |
| | | } |