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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 代理服务器新增/修改 Request VO")
@Data
public class FrpsServerSaveReqVO {

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

    @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 = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否启用不能为空")
    private Boolean isEnable;

}