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/DefaultRule.java |  133 +++++++++++++++++++++++++++++++++++---------
 1 files changed, 106 insertions(+), 27 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 21b392b..ff3a69b 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,43 +1,122 @@
 package com.ycl.platform.domain.entity;
 
-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;
+import annotation.Excel;
+import com.ycl.system.domain.TreeEntity;
+import org.apache.commons.lang.builder.ToStringBuilder;
+import org.apache.commons.lang.builder.ToStringStyle;
 
 /**
- * 杩濈害瑙勫垯
- *
- * @author xp
- * @since 2024-03-05
+ * 杩濈害瑙勫垯瀵硅薄 t_default_rule
+ * 
+ * @author ruoyi
+ * @date 2024-04-01
  */
-@Data
-@Accessors(chain = true)
-@TableName("t_default_rule")
-@ApiModel(value = "DefaultRule瀵硅薄", description = "杩濈害瑙勫垯")
-public class DefaultRule extends AbsEntity {
-
+public class DefaultRule extends TreeEntity
+{
     private static final long serialVersionUID = 1L;
 
-    @ApiModelProperty("瑙勫垯鍚嶇О")
-    @TableField("rule_name")
+    /** 涓婚敭 */
+    private Long id;
+
+    /** 瑙勫垯鍚嶇О */
+    @Excel(name = "瑙勫垯鍚嶇О")
     private String ruleName;
 
-    @ApiModelProperty("瑙勫垯璇︽儏JSON")
-    @TableField("rule_detail")
-    private String ruleDetail;
+    /** 鎵e噺鏂瑰紡 */
+    @Excel(name = "鎵e噺鏂瑰紡")
+    private Long deductCategory;
 
-    @ApiModelProperty("瑙勫垯鎻忚堪")
-    @TableField("rule_desc")
+    /** 浜哄伐鎵撳垎/绯荤粺鎵撳垎 */
+    private Long deductWay;
+
+    /** 瑙勫垯鎻忚堪 */
+    @Excel(name = "瑙勫垯鎻忚堪")
     private String ruleDesc;
 
-    @ApiModelProperty("瑙勫垯鐘舵�侊細鍚敤銆佹湭鍚敤")
-    @TableField("rule_status")
+    /** 瑙勫垯鐘舵�� */
+    @Excel(name = "瑙勫垯鐘舵��")
     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