管理端模块-消息管理
This commit is contained in:
59
src/main/java/com/peanut/modules/common/entity/Message.java
Normal file
59
src/main/java/com/peanut/modules/common/entity/Message.java
Normal file
@@ -0,0 +1,59 @@
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user