com.github.zw201913.annotation.FileUpload Maven / Gradle / Ivy
The newest version!
package com.github.zw201913.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ ElementType.METHOD, ElementType.PARAMETER })
@Retention(RetentionPolicy.RUNTIME)
public @interface FileUpload {
/**
*
* @return 是否做摘要
*/
public boolean digest() default false;
/**
*
* @return 是否自动保存
*/
public boolean autoSave() default true;
}