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

import com.skr.mdm.bean.qo.BaseStrategyQO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * @author nfq
 * @date 2022-11-04 15:10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "应用卸载新增/编辑对象")
public class AppUninstallQO extends BaseStrategyQO {

    private Integer id;

    @ApiModelProperty(value = "策略名称")
    @NotBlank(message = "策略名称不能为空")
    private String strategyName;

    @ApiModelProperty(value = "应用ID集合")
    @NotEmpty(message = "应用ID不能为空")
    private List<Integer> appIdList;

}
