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

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author nfq
 * @date 2023-03-21 9:47
 */
@Data
@ApiModel(value = "指令推送请求对象")
public class CmdPushQO {

    @NotBlank(message = "指令不能为空")
    @ApiModelProperty(value = "指令")
    private String cmd;

    @ApiModelProperty(value = "指令信息")
    private String cmdInfo;

    @NotEmpty(message = "设备ID不能为空")
    @ApiModelProperty(value = "设备ID集合")
    private List<Integer> equipmentIdList;

    @ApiModelProperty(value = "登录密码")
    private String password;

}
