From 5a8a90c095280fbd2106869ecd2bad10e01a57a6 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期四, 23 十二月 2021 18:10:22 +0800
Subject: [PATCH] 12/23  大屏修改

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActDiscussDO.java |  130 +++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 123 insertions(+), 7 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActDiscussDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActDiscussDO.java
index 7f71c4a..990b0a6 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActDiscussDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActDiscussDO.java
@@ -1,14 +1,16 @@
 package com.panzhihua.service_community.model.dos;
 
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
 import java.io.Serializable;
+import java.math.BigDecimal;
 import java.util.Date;
+
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
 
 /**
  * @program: springcloud_k8s_panzhihuazhihuishequ
- * @description: 一起议
+ * @description: 议事投票
  * @author: huang.hongfa weixin hhf9596 qq 959656820
  * @create: 2021-01-22 14:48
  **/
@@ -26,16 +28,17 @@
     /**
      * 主题
      */
-    private String subject;
+    private String discussSubject;
 
     /**
-     * 类型 1 图文 2 投票
+     * 类型 1 议事 2 投票
      */
     private Integer type;
 
     /**
      * 图片地址 多个用逗号隔开
      */
+    @TableField(updateStrategy = FieldStrategy.IGNORED)
     private String photoPah;
 
     /**
@@ -62,10 +65,123 @@
     /**
      * 1 单选 2 多选
      */
-    private Integer option;
+    private Integer discussOption;
 
     /**
      * 投票标题
      */
     private String voteTitle;
+
+    /**
+     * 是否可重复投票(1.是 2.否)
+     */
+    private Integer isRepeat;
+
+    /**
+     * 每人票数
+     */
+    private Integer count;
+
+    /**
+     * 单张图片宽度
+     */
+    private BigDecimal imgWidth;
+
+    /**
+     * 单张图片高度
+     */
+    private BigDecimal imgHeight;
+
+    /**
+     * 开始时间
+     */
+    private Date startTime;
+
+    /**
+     * 结束时间
+     */
+    private Date endTime;
+
+    /**
+     * 评论数
+     */
+    private Integer commentNum;
+
+    /**
+     * 点赞数
+     */
+    private Integer fabulousNum;
+
+    /**
+     * 浏览量
+     */
+    private Integer viewsNum;
+
+    /**
+     * 参与人数
+     */
+    private Integer joinNum;
+
+    /**
+     * 状态(1.未开始 2.进行中 3.待公布 4.已公布 5.已发布)
+     */
+    private Integer status;
+
+    /**
+     * 是否已删除(1.是 2.否)
+     */
+    private Integer isDel;
+
+    /**
+     * 公布结果
+     */
+    private String publishResult;
+
+    /**
+     * 公布时间
+     */
+    private Date publishAt;
+
+    /**
+     * 发布时间
+     */
+    private Date releaseAt;
+
+    /**
+     * 修改时间
+     */
+    private Date updateAt;
+
+    /**
+     * 公布人id
+     */
+    private Long publishBy;
+
+    /**
+     * 类型 1 议事 2 投票
+     */
+    public interface type{
+        int ys = 1;
+        int tp = 2;
+    }
+
+    /**
+     * 是否枚举(1.是  2.否)
+     */
+    public interface isOk{
+        int yes = 1;
+        int no = 2;
+    }
+
+    /**
+     * 状态(1.未开始 2.进行中 3.待公布 4.已公布 5.已发布)
+     */
+    public interface status{
+        int wks = 1;
+        int jxz = 2;
+        int dgb = 3;
+        int ygb = 4;
+        int yfb = 5;
+    }
+
 }

--
Gitblit v1.7.1