package com.ruoyi.cai.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户在线状态对象 cai_user_online
 *
 * @author 77
 * @date 2023-12-23
 */
@Data
@TableName("cai_user_online")
public class UserOnline implements Serializable {

    private static final long serialVersionUID=1L;

    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 在线状态:0=离线,1=在线
     */
    private Integer status;
    /**
     * 状态更新时间13位时间戳
     */
    private Long receiveTime;
    /**
     * 最后在线时间
     */
    private LocalDateTime lastLiveTime;

    private LocalDateTime createTime;

}
