package com.xinelu.manage.dto.appfileInfo;

import com.xinelu.common.custominterface.Insert;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description 上传护理员App文件
 * @Author zh
 * @Date 2022-11-15
 */
@Data
public class AppFileInfoDTO implements Serializable {
    private static final long serialVersionUID = 4349642127285334486L;
    /**
     * 版本号
     */
    @NotBlank(message = "版本号不能为空", groups = {Insert.class})
    private String version;

    /**
     * 文件
     */
    @NotNull(message = "请选择所要上传的Apk文件！", groups = {Insert.class})
    private MultipartFile file;
}
