package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

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

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Author: jinyd
 * @CreateTime: 2024/10/15  11:18
 * @Description:
 * @Version: 4.0
 */


@Schema(description = "管理后台 - 设备厂商新增/修改 Request VO")
@Data
public class ManufacturerSaveReqVO {

    @Schema(description = "主键", example = "27038")
    private Long id;

    @Schema(description = "厂家名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotNull(message = "厂家名称不能为空")
    private String name;
    private String abbreviationName;

    @Schema(description = "对接状态0-否，1-是", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "对接状态不能为空")
    private Integer dockingStatus;
    private Integer status;

    @Schema(description = "ip白名单")
    private String whiteListIp;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "你猜")
    @NotEmpty(message = "备注不能为空")
    private String remark;

    @Schema(description = "官网地址", example = "https://www.baidu.com")
//    @NotEmpty(message = "官网地址不能为空")
    private String officialUrl;

    @Schema(description = "账号",  example = "20469")
//    @NotEmpty(message = "账号不能为空")
    private String manufacturerAccount;

    @Schema(description = "密码")
//    @NotEmpty(message = "密码不能为空")
    private String manufacturerPassword;

}
