通话逻辑
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.ruoyi.cai.dto.app.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class GuardNum implements Serializable {
|
||||
private Long myGuardNum;
|
||||
private Long upGuardNum;
|
||||
|
||||
private Long diffNum;
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package com.ruoyi.cai.dto.app.vo.chat;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
@Schema(description = "拨打视频返回模型")
|
||||
public class CallResp {
|
||||
@Schema(description = "房间号")
|
||||
private String roomId;
|
||||
@Schema(description = "拨打者-用户ID")
|
||||
private Long fromUid;
|
||||
@Schema(description = "拨打者-昵称")
|
||||
private String fromNickname;
|
||||
@Schema(description = "拨打者-头像")
|
||||
private String fromAvatar;
|
||||
@Schema(description = "接收者-用户ID")
|
||||
private Long toUid;
|
||||
@Schema(description = "接收者-昵称")
|
||||
private String toNickname;
|
||||
@Schema(description = "接收者-头像")
|
||||
private String toAvatar;
|
||||
@Schema(description = "wsUrl")
|
||||
private String socketUrl;
|
||||
@Schema(description = "技能名称")
|
||||
private String skillName;
|
||||
@Schema(description = "技能头像")
|
||||
private String skillIcon;
|
||||
@Schema(description = "价格")
|
||||
private Long price;
|
||||
@Schema(description = "评分")
|
||||
private BigDecimal score;
|
||||
|
||||
@Schema(description = "服务次数")
|
||||
private Long serviceCount;
|
||||
@Schema(description = "服务时间")
|
||||
private Long serviceTime;
|
||||
@Schema(description = "距离上一个守护数量")
|
||||
private Long guardDiffNum;
|
||||
@Schema(description = "守护价格")
|
||||
private Long guardPrice;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package com.ruoyi.cai.dto.app.vo.chat;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class GetRoomResp {
|
||||
@Schema(description = "房间号")
|
||||
private String roomId;
|
||||
@Schema(description = "拨打者-用户ID")
|
||||
private Long fromUid;
|
||||
@Schema(description = "拨打者-昵称")
|
||||
private String fromNickname;
|
||||
@Schema(description = "拨打者-头像")
|
||||
private String fromAvatar;
|
||||
@Schema(description = "接收者-用户ID")
|
||||
private Long toUid;
|
||||
@Schema(description = "接收者-昵称")
|
||||
private String toNickname;
|
||||
@Schema(description = "接收者-头像")
|
||||
private String toAvatar;
|
||||
@Schema(description = "wsUrl")
|
||||
private String socketUrl;
|
||||
@Schema(description = "技能名称")
|
||||
private String skillName;
|
||||
@Schema(description = "技能头像")
|
||||
private String skillIcon;
|
||||
@Schema(description = "价格")
|
||||
private Long price;
|
||||
@Schema(description = "评分")
|
||||
private BigDecimal score;
|
||||
|
||||
@Schema(description = "服务次数")
|
||||
private Long serviceCount;
|
||||
@Schema(description = "服务时间")
|
||||
private Long serviceTime;
|
||||
}
|
||||
Reference in New Issue
Block a user