From 10df7e29b51d6a2efacc83d870856f57d97a9b66 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期一, 24 十月 2022 13:48:24 +0800
Subject: [PATCH] #feat 修改别名

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralRuleDO.java |   54 +++++++++++++++++++++++-------------------------------
 1 files changed, 23 insertions(+), 31 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralRuleDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralRuleDO.java
index 835a3a4..cff4f41 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralRuleDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralRuleDO.java
@@ -1,11 +1,11 @@
 package com.panzhihua.service_community.model.dos;
 
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
 import java.io.Serializable;
 import java.util.Date;
 
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
 
 /**
  * @auther lyq
@@ -22,7 +22,7 @@
     /**
      * 主键id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
@@ -53,13 +53,13 @@
     /**
      * 限制类型(1.月 2.日)
      */
-    @TableField(value = "type", updateStrategy  = FieldStrategy.IGNORED)
+    @TableField(value = "type", updateStrategy = FieldStrategy.IGNORED)
     private Integer type;
 
     /**
      * 限制次数
      */
-    @TableField(value = "count", updateStrategy  = FieldStrategy.IGNORED)
+    @TableField(value = "count", updateStrategy = FieldStrategy.IGNORED)
     private Integer count;
 
     /**
@@ -73,7 +73,8 @@
     private Date updateAt;
 
     /**
-     * 积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.参与志愿者活动 5.参与社区活动 6.参与党员活动 7.参与调查问卷)
+     * 积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.社区活动-居民身份参与 " +
+     *             "5.社区活动-党员身份参与 6.社区活动-志愿者身份参与 7.参与调查问卷 8.取消活动 9.参与单位党员活动)
      */
     private Integer integralType;
 
@@ -82,15 +83,24 @@
      */
     private String remark;
 
+    @Override
+    public String toString() {
+        return "ComActIntegralRuleDO{" + "id=" + id + ", name=" + name + ", communityId=" + communityId + ", amount="
+            + amount + ", integralDescribe=" + integralDescribe + ", isRestrict=" + isRestrict + ", type=" + type
+            + ", count=" + count + ", createAt=" + createAt + ", updateAt=" + updateAt + ", integralType="
+            + integralType + ", remark=" + remark + "}";
+    }
+
     /**
-     * 积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.参与志愿者活动 5.参与社区活动 6.参与党员活动 7.参与调查问卷)
+     * 积分任务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.社区活动-居民身份参与 " +
+     *             "5.社区活动-党员身份参与 6.社区活动-志愿者身份参与 7.参与调查问卷 8.取消活动 9.参与单位党员活动)
      */
-    public interface integralType{
+    public interface integralType {
         int fbssp = 1;
         int fbwxy = 2;
         int cyystp = 3;
-        int cyzyzhd = 4;
-        int cysqhd = 5;
+        int cyjmhd = 4;
+        int cyzyzhd = 5;
         int cydyhd = 6;
         int cydcwj = 7;
     }
@@ -98,7 +108,7 @@
     /**
      * 是否限制(1.是 2.否)
      */
-    public interface isRestrict{
+    public interface isRestrict {
         int yes = 1;
         int no = 2;
     }
@@ -106,26 +116,8 @@
     /**
      * 限制类型(1.月 2.日)
      */
-    public interface type{
+    public interface type {
         int month = 1;
         int day = 2;
-    }
-
-    @Override
-    public String toString() {
-        return "ComActIntegralRuleDO{" +
-                "id=" + id +
-                ", name=" + name +
-                ", communityId=" + communityId +
-                ", amount=" + amount +
-                ", integralDescribe=" + integralDescribe +
-                ", isRestrict=" + isRestrict +
-                ", type=" + type +
-                ", count=" + count +
-                ", createAt=" + createAt +
-                ", updateAt=" + updateAt +
-                ", integralType=" + integralType +
-                ", remark=" + remark +
-                "}";
     }
 }
\ No newline at end of file

--
Gitblit v1.7.1