package com.ho.business.vo.req.device;

import com.ho.business.entity.DeviceTypeConfig;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author fancl
 * @desc:
 * @date 2023/3/18
 */
@Data
public class DeviceTypeConfigAddReq extends DeviceTypeConfig {

    @ApiModelProperty(value = "电站id")
    Integer stationId;

    @ApiModelProperty(value = "1集团级别 2电站级别")
    Integer scope;

    @ApiModelProperty(value = "设备类型")
    @NotBlank(message = "设备类型不能为空")
    String deviceType;

    @NotBlank(message = "设备类型名称不能为空")
    @ApiModelProperty(value = "设备类型名称")
    String name;

    @ApiModelProperty(value = "模型名称")
    @NotBlank(message = "模型名称不能为空")
    String modelName;
}
