fuliqi
2024-04-02 ea3e40330575519d9a4c7dbe4f6d63e4a22ea861
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java
@@ -1,44 +1,109 @@
package com.ycl.platform.domain.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
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;
/**
 * @author:xp
 * @date:2024/3/8 9:18
 * 考核模板-规则中间对象 t_check_template_rule
 *
 * @author ruoyi
 * @date 2024-04-01
 */
@Data
@Accessors(chain = true)
@TableName("t_check_template_rule")
@ApiModel(value = "CheckTemplate对象", description = "考核模板")
public class CheckTemplateRule {
public class CheckTemplateRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**  */
    private Long id;
    /**
     * 模板ID
     */
    @TableField("check_template_id")
    private Integer checkTemplateId;
    /** 考核模板 */
    @Excel(name = "考核模板")
    private Long checkTemplateId;
    /**
     * 规则ID
     */
    @TableField("check_rule_id")
    private Integer checkRuleId;
    /** 考核规则 */
    @Excel(name = "考核规则")
    private Long checkRuleId;
    /**
     * 权重
     */
    @TableField("weight")
    /** 规则权重 */
    @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();
    }
}