| | |
| | | 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 lombok.Data; |
| | | |
| | | 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 |
| | |
| | | /** |
| | | * 自增id |
| | | */ |
| | | @TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.ASSIGN_ID) |
| | | private Long id; |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Date createAt; |
| | | |
| | | /** |
| | | * 修改时间 |
| | | */ |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Date updateAt; |
| | | /** |
| | | * 社区id |
| | | */ |
| | | private Long communityId; |
| | | 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; |
| | | |
| | | } |