From ea3e40330575519d9a4c7dbe4f6d63e4a22ea861 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期二, 02 四月 2024 09:41:52 +0800
Subject: [PATCH] Revert "Revert "新考核""

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java |  125 +++++++++++++++++++++++++++++++----------
 1 files changed, 95 insertions(+), 30 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java
index 24ec670..fbe2615 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java
+++ b/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锛歺p
- * @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();
+    }
 }

--
Gitblit v1.8.0