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

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

@Schema(description = "管理后台 - 网关新增/修改 Request VO")
@Data
public class GatewaySaveReqVO {

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

    @Schema(description = "管理地址")
    private String adminIp;

    @Schema(description = "管理账号", example = "芋艿")
    private String username;

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

    @Schema(description = "网关名字", example = "赵六")
    private String gatewayName;

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

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)

    private Boolean isEnable;

    @Schema(description = "网关编码")
    private String gatewayCode;

    @Schema(description = "网关状态", example = "1")
    private String gatewayStatus;

    @Schema(description = "订阅主题")
    private String topic;

}