package com.zt.plat.module.qms.business.other.controller.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 = "管理后台 - 第三方系统配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class OtherSystemConfigRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32525")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "第三方系统")
    @ExcelProperty("第三方系统")
    private String otherSystem;

    @Schema(description = "基地址", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    @ExcelProperty("基地址")
    private String baseUrl;

    @Schema(description = "账号", example = "7932")
    @ExcelProperty("账号")
    private String account;

    @Schema(description = "密码")
    @ExcelProperty("密码")
    private String password;

    @Schema(description = "令牌")
    @ExcelProperty("令牌")
    private String token;

    @Schema(description = "令牌有效时间，单位秒")
    @ExcelProperty("令牌有效时间，单位秒")
    private Integer tokenEffectiveTime;

    @Schema(description = "令牌到期时间")
    @ExcelProperty("令牌到期时间")
    private LocalDateTime tokenExpirationTime;

    @Schema(description = "扩展配置")
    @ExcelProperty("扩展配置")
    private String externalConfig;

    @Schema(description = "是否启用代理,0-否，1-是")
    @ExcelProperty("是否启用代理,0-否，1-是")
    private Integer isEnableProxy;

    @Schema(description = "代理服务器主机地址")
    @ExcelProperty("代理服务器主机地址")
    private String proxyHost;

    @Schema(description = "代理服务器端口号")
    @ExcelProperty("代理服务器端口号")
    private Integer proxyPort;

    @Schema(description = "代理服务验证的用户名")
    @ExcelProperty("代理服务验证的用户名")
    private String proxyUser;

    @Schema(description = "代理服务验证的密码")
    @ExcelProperty("代理服务验证的密码")
    private String proxyPassword;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

}