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

import lombok.*;
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-sip系统配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class IotYfSipConfigPageReqVO extends PageParam {

    @Schema(description = "产品ID", example = "1005")
    private Long productId;
    @Schema(description = "产品名称", example = "李四")
    private String productName;

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

    @Schema(description = "系统默认配置")
    private Boolean isdefault;

    @Schema(description = "拓展sdp")
    private Boolean seniorSdp;

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

    @Schema(description = "服务器sipid", example = "348")
    private String serverSipid;

    @Schema(description = "sip认证密码")
    private String password;

    @Schema(description = "sip接入IP")
    private String ip;

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

    @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;

}
