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 java.math.BigDecimal; import java.util.Date; /** * 考核结果对象 t_check_result * * @author ruoyi * @date 2024-04-01 */ public class CheckResult extends BaseEntity { private static final long serialVersionUID = 1L; /** */ private Long id; /** 考核对象 */ @Excel(name = "考核对象") private Long deptId; /** 考核发布 */ @Excel(name = "考核发布") private Long publishId; /** 考核类型 */ @Excel(name = "考核类型") private Long examineCategory; /** 考核分数 */ @Excel(name = "考核分数") private BigDecimal checkScore; /** 是否发布 */ @Excel(name = "是否发布") private Long publish; /** 考核时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "考核时间", width = 30, dateFormat = "yyyy-MM-dd") private Date checkTime; /** 逻辑删除 */ private String deleted; public void setId(Long id) { this.id = id; } 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(); } }