49 lines
1.1 KiB
Java
49 lines
1.1 KiB
Java
package com.ruoyi.domain.other;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Builder;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.experimental.Accessors;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
@Data
|
|
@NoArgsConstructor
|
|
@AllArgsConstructor
|
|
@Accessors(chain = true)
|
|
@Builder
|
|
@TableName(value = "tt_message_send")
|
|
public class TtMessageSend implements Serializable {
|
|
|
|
@TableField(exist = false)
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId
|
|
private Integer id;
|
|
|
|
@Excel(name = "接收者用户ID")
|
|
private Integer recId;
|
|
|
|
@Excel(name = "消息内容ID")
|
|
private Integer messageId;
|
|
|
|
/**
|
|
* 1:已读
|
|
*/
|
|
@Excel(name = "查看状态")
|
|
private String status;
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date sendTime;
|
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
private Date readingTime;
|
|
}
|