package cn.iocoder.yudao.module.pms.controller.admin.yanfan.sip.device.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 YfSipDevicePageReqVO extends PageParam {

    @Schema(description = "产品ID", example = "11116")
    private Long productId;

    @Schema(description = "产品名称", example = "王五")
    private String productName;

    @Schema(description = "设备SipID", example = "8965")
    private String deviceSipId;

    @Schema(description = "设备名称", example = "芋艿")
    private String deviceName;

    @Schema(description = "厂商名称")
    private String manufacturer;

    @Schema(description = "产品型号")
    private String model;

    @Schema(description = "固件版本")
    private String firmware;

    @Schema(description = "传输模式")
    private String transport;

    @Schema(description = "流模式")
    private String streamMode;

    @Schema(description = "在线状态")
    private String online;

    @Schema(description = "注册时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] registerTime;

    @Schema(description = "最后上线时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lastConnectTime;

    @Schema(description = "激活时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] activeTime;

    @Schema(description = "设备入网IP")
    private String ip;

    @Schema(description = "设备接入端口号")
    private Long port;

    @Schema(description = "设备地址")
    private String hostAddress;

    @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 = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
