package com.corewing.app.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class DeviceActivationRequest {

    @ApiModelProperty(value = "MAC地址", required = true)
    @NotBlank(message = "MAC地址不能为空")
    private String mac;

    @ApiModelProperty(value = "设备型号", required = true)
    @NotBlank(message = "设备型号不能为空")
    private String modelId;

    @ApiModelProperty(value = "时间戳", required = true)
    private String timestamp;

}
