From 0c1f76c4a9c34a2adb05a94da4b20f3560374a29 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 19 四月 2024 15:52:27 +0800
Subject: [PATCH] 考核模板

---
 ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckTemplateRule.java |   92 ++++++++--------------------------------------
 1 files changed, 16 insertions(+), 76 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..01fa7de 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,7 +1,13 @@
 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;
 
@@ -13,97 +19,31 @@
  * @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();
-    }
 }

--
Gitblit v1.8.0