package com.skr.mdm.bean.qo.equipment;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author nfq
 * @date 2023-02-01 15:13
 */
@Data
@ApiModel(value = "设备添加/编辑QO")
public class EquipmentAddUpdateQO {

    @ApiModelProperty("设备ID")
    private Integer id;

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty("用户ID")
    private Integer userId;

    @NotNull(message = "设备类型不能为空")
    @ApiModelProperty("设备类型（1：手机 2：手环 3：记录仪）")
    private Integer equipmentType;

    @NotBlank(message = "设备名称不能为空")
    @ApiModelProperty("设备名称")
    private String equipmentName;

    @ApiModelProperty("imei")
    private String imei;

    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("oaid")
    private String oaid;

}
