60 lines
989 B
Java
60 lines
989 B
Java
package com.peanut.modules.common.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.Data;
|
|
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@TableName("message")
|
|
public class Message {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId
|
|
private Integer id;
|
|
|
|
/**
|
|
* 标题
|
|
*/
|
|
private String title;
|
|
|
|
/**
|
|
* 0本地信息1外链
|
|
*/
|
|
private Integer type;
|
|
|
|
/**
|
|
* 本地信息内容
|
|
*/
|
|
private String content;
|
|
|
|
/**
|
|
* 外链地址
|
|
*/
|
|
private String url;
|
|
|
|
/**
|
|
* 是否在疯子读书显示0否1是
|
|
*/
|
|
private Integer isBook;
|
|
|
|
/**
|
|
* 是否在医学视频显示
|
|
*/
|
|
private Integer isMedical;
|
|
|
|
/**
|
|
* 是否在国学显示0否1是
|
|
*/
|
|
private Integer isSociology;
|
|
|
|
private Date createTime;
|
|
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
|
|
}
|