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

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

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

/**
 * @author nfq
 * @date 2022-12-02 16:19
 */
@Data
@ApiModel(value = "应用推送添加QO")
public class MdmAppPushAddQO {

    @NotNull(message = "全局类型不能为空")
    @ApiModelProperty(value = "全局类型（ 1：全局 2：部门 3：个人）")
    private Integer globalType;

    @NotEmpty(message = "应用版本ID不能为空")
    @ApiModelProperty(value = "应用版本ID")
    private List<Integer> appVersionIdList;
}
