package cn.skcks.docking.gb28181.wvp.api.device.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class AddDeviceDTO {
    @NotBlank(message = "设备编码 不能为空")
    @Schema(description = "设备编码")
    private String deviceCode;
    @NotBlank(message = "国标编码 不能为空")
    @Schema(description = "国标编码")
    private String gbDeviceId;
    @NotBlank(message = "国标通道id 不能为空")
    @Schema(description = "国标通道id")
    private String gbDeviceChannelId;
    @NotBlank(message = "设备名称 不能为空")
    @Schema(description = "设备名称")
    private String name;

    @Schema(description = "地址")
    private String address;
}
