package com.ycl.platform.domain.entity; import annotation.Excel; import com.ycl.system.entity.BaseEntity; import org.apache.commons.lang.builder.ToStringBuilder; import org.apache.commons.lang.builder.ToStringStyle; import java.math.BigDecimal; /** * 考核模板-规则中间对象 t_check_template_rule * * @author ruoyi * @date 2024-04-01 */ public class CheckTemplateRule extends BaseEntity { private static final long serialVersionUID = 1L; /** */ private Long id; /** 考核模板 */ @Excel(name = "考核模板") private Long checkTemplateId; /** 考核规则 */ @Excel(name = "考核规则") private Long checkRuleId; /** 规则权重 */ @Excel(name = "规则权重") private BigDecimal weight; /** 满分 */ @Excel(name = "满分") private BigDecimal maxScore; /** 审核状态 */ @Excel(name = "审核状态") private Long auditState; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setCheckTemplateId(Long checkTemplateId) { this.checkTemplateId = checkTemplateId; } public Long getCheckTemplateId() { return checkTemplateId; } public void setCheckRuleId(Long checkRuleId) { this.checkRuleId = checkRuleId; } public Long getCheckRuleId() { return checkRuleId; } public void setWeight(BigDecimal weight) { this.weight = weight; } public BigDecimal getWeight() { return weight; } public void setMaxScore(BigDecimal maxScore) { this.maxScore = maxScore; } public BigDecimal getMaxScore() { return maxScore; } public void setAuditState(Long auditState) { this.auditState = auditState; } public Long getAuditState() { return auditState; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("checkTemplateId", getCheckTemplateId()) .append("checkRuleId", getCheckRuleId()) .append("weight", getWeight()) .append("maxScore", getMaxScore()) .append("auditState", getAuditState()) .toString(); } }