package com.ruoyi.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import com.ruoyi.common.core.domain.entity.SysUser;
import lombok.Data;
import java.util.Date;
import java.util.List;


/**
 * 通信目录视图对象 socket_contact
 *
 * @author hdka
 * @date 2024-10-21
 */
@Data
@ExcelIgnoreUnannotated
public class SocketContactVo {

    private static final long serialVersionUID = 1L;

    /**
     * 通信id
     */
    @ExcelProperty(value = "通信id")
    private Long id;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long contactUserId;

    /**
     * 发送者
     */
    @ExcelProperty(value = "发送者")
    private Long userId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * user对象
     */
    private SysUser user;


    /**
     * 对话信息表
     */
    private List<SocketMessageVo> messages;


    /**
     * 房间号
     */
    private Long roomId;

}
