| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- package com.fdkankan.manage.entity;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.fdkankan.db.base.BaseEntity;
- import java.io.Serializable;
- import java.sql.Blob;
- import java.util.Date;
- import lombok.Getter;
- import lombok.Setter;
- /**
- * <p>
- *
- * </p>
- *
- * @author
- * @since 2022-06-06
- */
- @Getter
- @Setter
- @TableName("t_news")
- public class News extends BaseEntity {
- private static final long serialVersionUID = 1L;
- @TableId(value = "id", type = IdType.AUTO)
- private Integer id;
- /**
- * 来源
- */
- @TableField("source")
- private String source;
- /**
- * 新闻类型(1-链接,2-图文)
- */
- @TableField("new_type")
- private Integer newType;
- /**
- * 是否显示(0-否,1-是)
- */
- @TableField("display")
- private Integer display;
- /**
- * 是否置顶(0-否,1-是)
- */
- @TableField("is_top")
- private Integer isTop;
- /**
- * 是否发布(0-否,1-是)
- */
- @TableField("is_public")
- private Integer isPublic;
- /**
- * 标题
- */
- @TableField("title")
- private String title;
- /**
- * 新闻内容
- */
- @TableField("content")
- private String content;
- /**
- * 封面图url
- */
- @TableField("cover_image_url")
- private String coverImageUrl;
- /**
- * 发布时间
- */
- @TableField("public_time")
- private Date publicTime;
- /**
- * 置顶时间
- */
- @TableField("top_time")
- private Date topTime;
- }
|