package com.ycl.jxkg.domain.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.ycl.jxkg.domain.base.AbsEntity;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
@Data
|
@TableName("t_message")
|
public class Message extends AbsEntity {
|
|
|
/**
|
* 标题
|
*/
|
@TableField("title")
|
private String title;
|
|
/**
|
* 内容
|
*/
|
@TableField("content")
|
private String content;
|
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/**
|
* 发送者用户ID
|
*/
|
@TableField("send_user_id")
|
private Integer sendUserId;
|
|
/**
|
* 发送者用户名
|
*/
|
@TableField("send_user_name")
|
private String sendUserName;
|
|
/**
|
* 发送者真实姓名
|
*/
|
@TableField("send_real_name")
|
private String sendRealName;
|
|
/**
|
* 接收人数
|
*/
|
@TableField("receive_user_count")
|
private Integer receiveUserCount;
|
|
/**
|
* 已读人数
|
*/
|
@TableField("read_count")
|
private Integer readCount;
|
|
}
|