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/DefaultRule.java |  133 +++++++++-----------------------------------
 1 files changed, 27 insertions(+), 106 deletions(-)

diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/DefaultRule.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/DefaultRule.java
index ff3a69b..21b392b 100644
--- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/DefaultRule.java
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/DefaultRule.java
@@ -1,122 +1,43 @@
 package com.ycl.platform.domain.entity;
 
-import annotation.Excel;
-import com.ycl.system.domain.TreeEntity;
-import org.apache.commons.lang.builder.ToStringBuilder;
-import org.apache.commons.lang.builder.ToStringStyle;
+import com.ycl.platform.base.AbsEntity;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.ycl.platform.base.AbsEntity;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.experimental.Accessors;
 
 /**
- * 杩濈害瑙勫垯瀵硅薄 t_default_rule
- * 
- * @author ruoyi
- * @date 2024-04-01
+ * 杩濈害瑙勫垯
+ *
+ * @author xp
+ * @since 2024-03-05
  */
-public class DefaultRule extends TreeEntity
-{
+@Data
+@Accessors(chain = true)
+@TableName("t_default_rule")
+@ApiModel(value = "DefaultRule瀵硅薄", description = "杩濈害瑙勫垯")
+public class DefaultRule extends AbsEntity {
+
     private static final long serialVersionUID = 1L;
 
-    /** 涓婚敭 */
-    private Long id;
-
-    /** 瑙勫垯鍚嶇О */
-    @Excel(name = "瑙勫垯鍚嶇О")
+    @ApiModelProperty("瑙勫垯鍚嶇О")
+    @TableField("rule_name")
     private String ruleName;
 
-    /** 鎵e噺鏂瑰紡 */
-    @Excel(name = "鎵e噺鏂瑰紡")
-    private Long deductCategory;
+    @ApiModelProperty("瑙勫垯璇︽儏JSON")
+    @TableField("rule_detail")
+    private String ruleDetail;
 
-    /** 浜哄伐鎵撳垎/绯荤粺鎵撳垎 */
-    private Long deductWay;
-
-    /** 瑙勫垯鎻忚堪 */
-    @Excel(name = "瑙勫垯鎻忚堪")
+    @ApiModelProperty("瑙勫垯鎻忚堪")
+    @TableField("rule_desc")
     private String ruleDesc;
 
-    /** 瑙勫垯鐘舵�� */
-    @Excel(name = "瑙勫垯鐘舵��")
+    @ApiModelProperty("瑙勫垯鐘舵�侊細鍚敤銆佹湭鍚敤")
+    @TableField("rule_status")
     private String ruleStatus;
 
-    /** 閫昏緫鍒犻櫎 */
-    private String deleted;
 
-    public void setId(Long id) 
-    {
-        this.id = id;
-    }
-
-    public Long getId() 
-    {
-        return id;
-    }
-    public void setRuleName(String ruleName) 
-    {
-        this.ruleName = ruleName;
-    }
-
-    public String getRuleName() 
-    {
-        return ruleName;
-    }
-    public void setDeductCategory(Long deductCategory) 
-    {
-        this.deductCategory = deductCategory;
-    }
-
-    public Long getDeductCategory() 
-    {
-        return deductCategory;
-    }
-    public void setDeductWay(Long deductWay) 
-    {
-        this.deductWay = deductWay;
-    }
-
-    public Long getDeductWay() 
-    {
-        return deductWay;
-    }
-    public void setRuleDesc(String ruleDesc) 
-    {
-        this.ruleDesc = ruleDesc;
-    }
-
-    public String getRuleDesc() 
-    {
-        return ruleDesc;
-    }
-    public void setRuleStatus(String ruleStatus) 
-    {
-        this.ruleStatus = ruleStatus;
-    }
-
-    public String getRuleStatus() 
-    {
-        return ruleStatus;
-    }
-    public void setDeleted(String deleted) 
-    {
-        this.deleted = deleted;
-    }
-
-    public String getDeleted() 
-    {
-        return deleted;
-    }
-
-    @Override
-    public String toString() {
-        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
-            .append("id", getId())
-            .append("ruleName", getRuleName())
-            .append("parentId", getParentId())
-            .append("deductCategory", getDeductCategory())
-            .append("deductWay", getDeductWay())
-            .append("ruleDesc", getRuleDesc())
-            .append("ruleStatus", getRuleStatus())
-            .append("createTime", getCreateTime())
-            .append("updateTime", getUpdateTime())
-            .append("deleted", getDeleted())
-            .toString();
-    }
 }

--
Gitblit v1.8.0