package com.jroo.base.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 附件注解
 * 在action的一个method上使用,通过该method上传附件
 * @author yeshujun
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target( {ElementType.METHOD})
public @interface FileUpload {
	String filePath() default "";//附件保存到磁盘上的路径
	boolean isRecordToDB() default true;//是否保存附件信信息到数据库
	//boolean filemMust() default false;//附件是否是必须的
}
最近下载更多
全栈小白  LV34 1月29日
lironggang  LV38 2023年11月30日
Seaskye  LV14 2023年11月4日
xyxyxy_59  LV1 2022年12月18日
东方明亮  LV5 2022年12月4日
cx123123  LV7 2022年5月16日
liuzejuncn  LV6 2022年3月13日
wanglinddad  LV55 2022年3月9日
winnie_cc  LV4 2022年2月25日
微信网友_5845420553359360  LV4 2022年2月23日
最近浏览更多
 LV7 3月25日
vluobo  LV1 3月19日
chenlie  LV2 3月18日
186092  LV4 3月5日
罗清晨  LV12 2月21日
1134116035 2月21日
暂无贡献等级
yanixh  LV1 2月19日
midyn203  LV2 2月5日
admin_z  LV22 2月4日
全栈小白  LV34 1月29日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友