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

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 2022-11-23 17:48
 */
@Data
@ApiModel(value = "应用版本升级QO")
public class AppStoreVersionUpgradeQO {

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

    @NotBlank(message = "版本名称不能为空")
    @ApiModelProperty(value = "版本名称")
    private String versionName;

    @NotNull(message = "版本号不能为空")
    @ApiModelProperty(value = "版本号")
    private Integer versionCode;

    @NotBlank(message = "文件地址不能为空")
    @ApiModelProperty(value = "文件地址")
    private String fileUrl;

    @NotBlank(message = "文件大小不能为空")
    @ApiModelProperty(value = "文件大小")
    private String fileSize;
}
