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

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

import javax.validation.constraints.NotNull;

/**
 * @author nfq
 * @date 2023-02-07 14:41
 */
@Data
@ApiModel(value = "应用推送全局配置QO")
public class MdmAppPushGlobalQO {

    @NotNull(message = "应用推送ID不能为空")
    @ApiModelProperty(value = "应用推送ID")
    private Integer appPushId;

    @NotNull(message = "全局推送类型不能为空")
    @ApiModelProperty(value = "全局推送类型（1：即时推送 3：按需推送)")
    private Integer pushType;

    @NotNull(message = "isOnlyWifi不能为空")
    @ApiModelProperty(value = "仅WiFi下载（0：否 1：是）")
    private Integer isOnlyWifi;

    @NotNull(message = "isSafeSpace不能为空")
    @ApiModelProperty(value = "是否放入安全空间（0：否 1：是）")
    private Integer isSafeSpace;

    @NotNull(message = "isShortcutIcon不能为空")
    @ApiModelProperty(value = "普通系统是否创建快捷图标（0：否 1：是）")
    private Integer isShortcutIcon;
}
