| | |
| | | package com.ycl.platform.domain.entity; |
| | | |
| | | import annotation.Excel; |
| | | 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 com.ycl.system.entity.BaseEntity; |
| | | import lombok.Data; |
| | | import lombok.experimental.Accessors; |
| | | import org.apache.commons.lang.builder.ToStringBuilder; |
| | | import org.apache.commons.lang.builder.ToStringStyle; |
| | | |
| | |
| | | * @author ruoyi |
| | | * @date 2024-04-01 |
| | | */ |
| | | public class CheckTemplateRule extends BaseEntity |
| | | @Data |
| | | @Accessors(chain = true) |
| | | @TableName("t_check_template_rule") |
| | | public class CheckTemplateRule |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** 考核模板 */ |
| | | @Excel(name = "考核模板") |
| | | private Long checkTemplateId; |
| | | @TableField("check_template_id") |
| | | private Integer checkTemplateId; |
| | | |
| | | /** 考核规则 */ |
| | | @Excel(name = "考核规则") |
| | | private Long checkRuleId; |
| | | @TableField("check_rule_id") |
| | | private Integer checkRuleId; |
| | | |
| | | /** 规则权重 */ |
| | | @Excel(name = "规则权重") |
| | | @TableField("weight") |
| | | 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(); |
| | | } |
| | | } |