init
This commit is contained in:
@@ -28,7 +28,15 @@ public class CaiAnchor implements Serializable{
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
private Integer userId;
|
||||
private Long userId;
|
||||
/**
|
||||
* 技能ID
|
||||
*/
|
||||
private Integer skillId;
|
||||
/**
|
||||
* 价格,默认50彩币
|
||||
*/
|
||||
private Long price;
|
||||
/**
|
||||
* 开启视频接听 0 未开启 1 已开启
|
||||
*/
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
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 CaiUserOnline implements Serializable {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@TableId(value = "user_id")
|
||||
private Integer userId;
|
||||
/**
|
||||
* 在线状态:0=离线,1=在线
|
||||
*/
|
||||
private Integer status;
|
||||
/**
|
||||
* 状态更新时间13位时间戳
|
||||
*/
|
||||
private Long receiveTime;
|
||||
/**
|
||||
* 最后在线时间
|
||||
*/
|
||||
private LocalDateTime lastLiveTime;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user