package cn.iocoder.yudao.module.pms.controller.admin.yanfan.media.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - yf流媒体服务器配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class YfMediaServerRespVO {

    @Schema(description = "流媒体配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28202")
    @ExcelProperty("流媒体配置ID")
    private Long id;

    @Schema(description = "服务器标识", requiredMode = Schema.RequiredMode.REQUIRED, example = "10688")
    @ExcelProperty("服务器标识")
    private String serverId;

    @Schema(description = "租户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("租户名称")
    private String tenantName;

    @Schema(description = "使能开关")
    @ExcelProperty("使能开关")
    private Integer enabled;

    @Schema(description = "默认播放协议", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("默认播放协议")
    private String protocol;

    @Schema(description = "服务器ip", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("服务器ip")
    private String ip;

    @Schema(description = "服务器域名", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("服务器域名")
    private String domain;

    @Schema(description = "回调服务器地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("回调服务器地址")
    private String hookurl;

    @Schema(description = "流媒体密钥", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("流媒体密钥")
    private String secret;

    @Schema(description = "http端口", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("http端口")
    private Integer portHttp;

    @Schema(description = "https端口", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("https端口")
    private Integer portHttps;

    @Schema(description = "rtmp端口", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("rtmp端口")
    private Integer portRtmp;

    @Schema(description = "rtsp端口", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("rtsp端口")
    private Integer portRtsp;

    @Schema(description = "RTP收流端口", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("RTP收流端口")
    private Integer rtpProxyPort;

    @Schema(description = "是否使用多端口模式", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否使用多端口模式")
    private Boolean rtpEnable;

    @Schema(description = "rtp端口范围", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("rtp端口范围")
    private String rtpPortRange;

    @Schema(description = "录像服务端口", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("录像服务端口")
    private Integer recordPort;

    @Schema(description = "是否自动同步配置ZLM", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否自动同步配置ZLM")
    private Boolean autoConfig;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "删除标志（0代表存在 2代表删除）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @Schema(description = "创建者", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建者")
    private String createBy;

    @Schema(description = "更新者")
    @ExcelProperty("更新者")
    private String updateBy;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "ws端口")
    @ExcelProperty("ws端口")
    private Integer portWs;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
