|  | @@ -1,15 +1,16 @@
 | 
											
												
													
														|  |  package com.yonge.cooleshow.biz.dal.entity;
 |  |  package com.yonge.cooleshow.biz.dal.entity;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -import java.util.Date;
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.annotation.IdType;
 |  |  import com.baomidou.mybatisplus.annotation.IdType;
 | 
											
												
													
														|  |  import com.baomidou.mybatisplus.annotation.TableField;
 |  |  import com.baomidou.mybatisplus.annotation.TableField;
 | 
											
												
													
														|  | 
 |  | +import com.baomidou.mybatisplus.annotation.TableId;
 | 
											
												
													
														|  |  import io.swagger.annotations.ApiModel;
 |  |  import io.swagger.annotations.ApiModel;
 | 
											
												
													
														|  |  import io.swagger.annotations.ApiModelProperty;
 |  |  import io.swagger.annotations.ApiModelProperty;
 | 
											
												
													
														|  | -import com.baomidou.mybatisplus.annotation.TableId;
 |  | 
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | 
 |  | +import javax.validation.constraints.NotBlank;
 | 
											
												
													
														|  | 
 |  | +import javax.validation.constraints.NotNull;
 | 
											
												
													
														|  |  import java.io.Serializable;
 |  |  import java.io.Serializable;
 | 
											
												
													
														|  | 
 |  | +import java.util.Date;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  /**
 |  |  /**
 | 
											
												
													
														|  |   * 群公告(ImGroupNotice)表实体类
 |  |   * 群公告(ImGroupNotice)表实体类
 | 
											
										
											
												
													
														|  | @@ -20,32 +21,36 @@ import java.io.Serializable;
 | 
											
												
													
														|  |  @ApiModel(value = "im_group_notice-群公告")
 |  |  @ApiModel(value = "im_group_notice-群公告")
 | 
											
												
													
														|  |  public class ImGroupNotice implements Serializable {
 |  |  public class ImGroupNotice implements Serializable {
 | 
											
												
													
														|  |      @TableId(value = "id_", type = IdType.AUTO)
 |  |      @TableId(value = "id_", type = IdType.AUTO)
 | 
											
												
													
														|  | 
 |  | +    @NotNull(message = "公告编号不可为空")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "主键;")
 |  |      @ApiModelProperty(value = "主键;")
 | 
											
												
													
														|  |      private Long id;
 |  |      private Long id;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    @TableField("groupId")
 |  | 
 | 
											
												
													
														|  | 
 |  | +    @TableField("group_id_")
 | 
											
												
													
														|  | 
 |  | +    @NotNull(message = "群编号不可为空")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "群编号;")
 |  |      @ApiModelProperty(value = "群编号;")
 | 
											
												
													
														|  |      private Long groupId;
 |  |      private Long groupId;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @TableField("title_")
 |  |      @TableField("title_")
 | 
											
												
													
														|  | 
 |  | +    @NotBlank(message = "公告标题不可为空")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "标题")
 |  |      @ApiModelProperty(value = "标题")
 | 
											
												
													
														|  |      private String title;
 |  |      private String title;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @TableField("content_")
 |  |      @TableField("content_")
 | 
											
												
													
														|  | 
 |  | +    @NotBlank(message = "公告内容不可为空")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "内容")
 |  |      @ApiModelProperty(value = "内容")
 | 
											
												
													
														|  |      private String content;
 |  |      private String content;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @TableField("is_top_")
 |  |      @TableField("is_top_")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "是否置顶")
 |  |      @ApiModelProperty(value = "是否置顶")
 | 
											
												
													
														|  | -    private Object isTop;
 |  | 
 | 
											
												
													
														|  | 
 |  | +    private Boolean isTop = false;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @TableField("is_sent_to_new_member_")
 |  |      @TableField("is_sent_to_new_member_")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "是否发送给新人")
 |  |      @ApiModelProperty(value = "是否发送给新人")
 | 
											
												
													
														|  | -    private Object isSentToNewMember;
 |  | 
 | 
											
												
													
														|  | 
 |  | +    private Boolean isSentToNewMember = false;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @TableField("del_flag_")
 |  |      @TableField("del_flag_")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "是否删除1是0否;")
 |  |      @ApiModelProperty(value = "是否删除1是0否;")
 | 
											
												
													
														|  | -    private Object delFlag;
 |  | 
 | 
											
												
													
														|  | 
 |  | +    private Boolean delFlag = false;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |      @TableField("operator_id_")
 |  |      @TableField("operator_id_")
 | 
											
												
													
														|  |      @ApiModelProperty(value = "操作人")
 |  |      @ApiModelProperty(value = "操作人")
 | 
											
										
											
												
													
														|  | @@ -59,7 +64,6 @@ public class ImGroupNotice implements Serializable {
 | 
											
												
													
														|  |      @ApiModelProperty(value = "修改时间;")
 |  |      @ApiModelProperty(value = "修改时间;")
 | 
											
												
													
														|  |      private Date updateTime;
 |  |      private Date updateTime;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |      public Long getId() {
 |  |      public Long getId() {
 | 
											
												
													
														|  |          return id;
 |  |          return id;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
										
											
												
													
														|  | @@ -92,27 +96,27 @@ public class ImGroupNotice implements Serializable {
 | 
											
												
													
														|  |          this.content = content;
 |  |          this.content = content;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public Object getIsTop() {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public Boolean getTop() {
 | 
											
												
													
														|  |          return isTop;
 |  |          return isTop;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public void setIsTop(Object isTop) {
 |  | 
 | 
											
												
													
														|  | -        this.isTop = isTop;
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public void setTop(Boolean top) {
 | 
											
												
													
														|  | 
 |  | +        isTop = top;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public Object getIsSentToNewMember() {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public Boolean getSentToNewMember() {
 | 
											
												
													
														|  |          return isSentToNewMember;
 |  |          return isSentToNewMember;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public void setIsSentToNewMember(Object isSentToNewMember) {
 |  | 
 | 
											
												
													
														|  | -        this.isSentToNewMember = isSentToNewMember;
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public void setSentToNewMember(Boolean sentToNewMember) {
 | 
											
												
													
														|  | 
 |  | +        isSentToNewMember = sentToNewMember;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public Object getDelFlag() {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public Boolean getDelFlag() {
 | 
											
												
													
														|  |          return delFlag;
 |  |          return delFlag;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -    public void setDelFlag(Object delFlag) {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public void setDelFlag(Boolean delFlag) {
 | 
											
												
													
														|  |          this.delFlag = delFlag;
 |  |          this.delFlag = delFlag;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -139,6 +143,5 @@ public class ImGroupNotice implements Serializable {
 | 
											
												
													
														|  |      public void setUpdateTime(Date updateTime) {
 |  |      public void setUpdateTime(Date updateTime) {
 | 
											
												
													
														|  |          this.updateTime = updateTime;
 |  |          this.updateTime = updateTime;
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 |