package com.dsh.course.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 lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* 系统通知
|
*/
|
@Data
|
@TableName("t_system_notice")
|
public class SystemNotice {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 类型(1=公告,2=系统消息)
|
*/
|
@TableField("type")
|
private Integer type;
|
/**
|
* 系统消息类型(1=打车业务,2=优惠券)
|
*/
|
@TableField("noticeType")
|
private Integer noticeType;
|
/**
|
* 用户类型(1=用户,2=司机)
|
*/
|
@TableField("userType")
|
private Integer userType;
|
/**
|
* 公告id
|
*/
|
@TableField("noticesId")
|
private Integer noticesId;
|
/**
|
* 消息内容
|
*/
|
@TableField("content")
|
private String content;
|
/**
|
* 接收对象id
|
*/
|
@TableField("userId")
|
private Integer userId;
|
/**
|
* 添加时间
|
*/
|
@TableField("insertTime")
|
private Date insertTime;
|
/**
|
* 阅读状态(1=未读,2=已读)
|
*/
|
@TableField("read")
|
private Integer read;
|
|
}
|