增加数据库结构以及接口

This commit is contained in:
648540858
2024-11-20 22:33:21 +08:00
parent 2dcbee74b0
commit 0cacdb5928
14 changed files with 356 additions and 19 deletions

View File

@@ -3,6 +3,8 @@ package com.genersoft.iot.vmp.service.bean;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.util.List;
@Data
@Schema(description = "录制计划")
public class RecordPlan {
@@ -10,18 +12,21 @@ public class RecordPlan {
@Schema(description = "计划数据库ID")
private int id;
@Schema(description = "计划关联的通道ID")
private Integer channelId;
@Schema(description = "计划名称")
private String name;
@Schema(description = "计划开始时间")
private Long startTime;
@Schema(description = "计划结束时间")
private Long stopTime;
@Schema(description = "计划周几执行")
private Integer weekDay;
@Schema(description = "计划关联通道数量")
private int channelCount;
@Schema(description = "是否开启定时截图")
private Boolean snap;
@Schema(description = "创建时间")
private String createTime;
@Schema(description = "更新时间")
private String updateTime;
@Schema(description = "计划内容")
private List<RecordPlanItem> planItemList;
}

View File

@@ -0,0 +1,25 @@
package com.genersoft.iot.vmp.service.bean;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(description = "录制计划项")
public class RecordPlanItem {
@Schema(description = "计划项数据库ID")
private int id;
@Schema(description = "计划开始时间")
private Long startTime;
@Schema(description = "计划结束时间")
private Long stopTime;
@Schema(description = "计划周几执行")
private Integer weekDay;
@Schema(description = "所属计划ID")
private Integer planId;
}