package cn.iocoder.yudao.module.server.controller.admin.reverseproxy.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 = "管理后台 - 反向代理配置分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ReverseProxyPageReqVO extends PageParam {

    @Schema(description = "关联的网站ID", example = "11145")
    private Long websiteId;

    @Schema(description = "业务系统名称")
    private String businessSystem;

    @Schema(description = "内网地址", example = "https://www.iocoder.cn")
    private String internalUrl;

    @Schema(description = "外网代理路径")
    private String externalPath;

    @Schema(description = "代理说明", example = "你说的对")
    private String description;

    @Schema(description = "代理日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] proxyDate;

    @Schema(description = "申请函附件路径")
    private String attachment;

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

}