feat(图书初步): 图书初步

图书初步
This commit is contained in:
ovo 2024-12-20 16:28:48 +08:00
parent 4deba9f86c
commit f0e417f1d7
6 changed files with 0 additions and 74 deletions

View File

@ -1,18 +0,0 @@
package com.guwan.backend.dto.live;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(description = "创建直播间请求")
public class CreateRoomRequest {
@Schema(description = "直播间标题")
private String title;
@Schema(description = "直播间描述")
private String description;
@Schema(description = "主播用户ID")
private Long userId;
}

View File

@ -1,17 +0,0 @@
package com.guwan.backend.dto.live;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(description = "直播间DTO")
public class LiveRoomDTO {
@Schema(description = "直播间标题")
private String title;
@Schema(description = "直播间描述")
private String description;
@Schema(description = "封面图URL")
private String coverUrl;
}

View File

@ -1,12 +0,0 @@
package com.guwan.backend.dto.live;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(description = "开始直播请求")
public class StartLiveRequest {
@Schema(description = "推流地址(RTMP/RTSP)")
private String sourceUrl;
}

View File

@ -1,12 +0,0 @@
package com.guwan.backend.dto.live;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(description = "WebRTC请求")
public class WebRTCRequest {
@Schema(description = "SDP offer")
private String sdp;
}

View File

@ -1,14 +0,0 @@
package com.guwan.backend.dto.live;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
@Data
@AllArgsConstructor
@Schema(description = "WebRTC响应")
public class WebRTCResponse {
@Schema(description = "SDP answer")
private String sdp;
}