package com.panzhihua.service_community.model.dos;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
/**
|
* @program: springcloud_k8s_panzhihuazhihuishequ
|
* @description: 社区动态
|
* @author: huang.hongfa weixin hhf9596 qq 959656820
|
* @create: 2020-12-07 14:05
|
**/
|
@Data
|
@TableName(value = "com_act_dyn")
|
public class ComActDynDO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 自增id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private Long id;
|
|
/**
|
* 标题
|
*/
|
private String title;
|
/**
|
* 状态
|
*/
|
private Integer status;
|
|
/**
|
* 是否置顶
|
*/
|
private Integer isTopping;
|
|
/**
|
* 发布时间
|
*/
|
private Date publishAt;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(fill = FieldFill.INSERT)
|
private Date createAt;
|
|
/**
|
* 修改时间
|
*/
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
private Date updateAt;
|
/**
|
* 社区id
|
*/
|
private String communityId;
|
/**
|
* 动态内容富文本
|
*/
|
private String content;
|
/**
|
* 封面图
|
*/
|
@TableField(value = "cover", updateStrategy = FieldStrategy.IGNORED)
|
private String cover;
|
|
/**
|
* 社区动态分类id
|
*/
|
private String type;
|
|
/**
|
* 封面模式:1-小图展示 2-大图展示
|
*/
|
private Integer coverMode;
|
|
/**
|
* 跳转链接
|
*/
|
private String jumpUrl;
|
|
/**
|
* 跳转状态
|
*/
|
private Integer jumpType;
|
|
/**
|
* 类型(1.社区动态 2.党务公开 3.花城资讯)
|
*/
|
private Integer category;
|
|
private Integer readNum;
|
|
private Date releaseTime;
|
/**
|
* 广告是否置顶
|
* */
|
private Integer onTop;
|
|
/**
|
* 图片链接
|
* */
|
private String imageUrl;
|
|
}
|