This commit is contained in:
dute7liang
2023-12-23 22:34:25 +08:00
parent e29a4edf7c
commit 59d048e1a6
30 changed files with 705 additions and 28 deletions

View File

@@ -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 已开启
*/

View File

@@ -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;
}