package com.jxy.marketall.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

/**
 * @Description TODO
 * @Date 2023/2/13 14:34
 * @Author 杜懿
 */
@TableName("message")
@Data
public class Message {

    @TableId(type = IdType.AUTO)
    private long id;

    @TableField("user_id")
    private long userId;

    @TableField("page_id")
    private long pageId;

    private String content;

    @TableField(exist = false)
    private String userName;

    @TableField("send_time")
    private Date sendTime;

    private long pid;

    @TableField("if_origin")
    private int ifOrigin;

    private int status;

    @TableField("msg_from")
    private int msgFrom;
}
