package cn.iocoder.yudao.module.iot.controller.admin.frps.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
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 FrpsServerPageReqVO extends PageParam {

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

    @Schema(description = "mac地址")
    private String hostMac;

    @Schema(description = "操作系统")
    private String hostOs;

    @Schema(description = "服务IP")
    private String hostIp;

    @Schema(description = "服务端口")
    private Integer hostPort;

    @Schema(description = "程序绝对路径")
    private String frpsPath;

    @Schema(description = "服务状态")
    private String frpsState;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "是否启用")
    private Boolean isEnable;

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

}