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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - yf流媒体服务器配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class YfMediaServerPageReqVO extends PageParam {

    @Schema(description = "服务器标识", example = "10688")
    private String serverId;

    @Schema(description = "租户名称", example = "芋艿")
    private String tenantName;

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

    @Schema(description = "默认播放协议")
    private String protocol;

    @Schema(description = "服务器ip")
    private String ip;

    @Schema(description = "服务器域名")
    private String domain;

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

    @Schema(description = "流媒体密钥")
    private String secret;

    @Schema(description = "http端口")
    private Integer portHttp;

    @Schema(description = "https端口")
    private Integer portHttps;

    @Schema(description = "rtmp端口")
    private Integer portRtmp;

    @Schema(description = "rtsp端口")
    private Integer portRtsp;

    @Schema(description = "RTP收流端口")
    private Integer rtpProxyPort;

    @Schema(description = "是否使用多端口模式")
    private Boolean rtpEnable;

    @Schema(description = "rtp端口范围")
    private String rtpPortRange;

    @Schema(description = "录像服务端口")
    private Integer recordPort;

    @Schema(description = "是否自动同步配置ZLM")
    private Boolean autoConfig;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @Schema(description = "创建者")
    private String createBy;

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

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

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

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
