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

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java |  125 ++++++++++-------------------------------
 1 files changed, 30 insertions(+), 95 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 fbe2615..24ec670 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,109 +1,44 @@
 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 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 java.math.BigDecimal;
 
 /**
- * 鑰冩牳妯℃澘-瑙勫垯涓棿瀵硅薄 t_check_template_rule
- * 
- * @author ruoyi
- * @date 2024-04-01
+ * @author锛歺p
+ * @date锛�2024/3/8 9:18
  */
-public class CheckTemplateRule extends BaseEntity
-{
-    private static final long serialVersionUID = 1L;
+@Data
+@Accessors(chain = true)
+@TableName("t_check_template_rule")
+@ApiModel(value = "CheckTemplate瀵硅薄", description = "鑰冩牳妯℃澘")
+public class CheckTemplateRule {
 
-    /**  */
-    private Long id;
+    @TableId(value = "id", type = IdType.AUTO)
+    private Integer id;
 
-    /** 鑰冩牳妯℃澘 */
-    @Excel(name = "鑰冩牳妯℃澘")
-    private Long checkTemplateId;
+    /**
+     * 妯℃澘ID
+     */
+    @TableField("check_template_id")
+    private Integer checkTemplateId;
 
-    /** 鑰冩牳瑙勫垯 */
-    @Excel(name = "鑰冩牳瑙勫垯")
-    private Long checkRuleId;
+    /**
+     * 瑙勫垯ID
+     */
+    @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();
-    }
 }

--
Gitblit v1.8.0