From 78a900b916f9007e45d45355d6e1de21eb71147e Mon Sep 17 00:00:00 2001 From: 罗yu 元桥 <2376770955@qq.com> Date: 星期四, 29 四月 2021 13:45:45 +0800 Subject: [PATCH] Merge branch 'test' into 'master' --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java index 6fbc3e6..1ac7dad 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleFabulousDO.java @@ -1,8 +1,6 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.io.Serializable; @@ -33,6 +31,11 @@ private Integer type; /** + * 邻里圈id + */ + private Long circleId; + + /** * 点赞上级id */ private Long parentId; @@ -50,13 +53,23 @@ /** * 点赞时间 */ + @TableField(fill = FieldFill.INSERT) private Date createAt; /** * 修改时间 */ + @TableField(fill = FieldFill.UPDATE) private Date updateAt; + /** + * 有效状态(1.有效 2.取消) + */ + public interface isEffective{ + int yes = 1; + int no = 2; + } + @Override public String toString() { return "ComActNeighborCircleFabulousDO{" + -- Gitblit v1.7.1