Resource增加required属性
This commit is contained in:
@@ -31,6 +31,13 @@ public @interface Resource {
|
||||
// */
|
||||
// APPLICATION
|
||||
// }
|
||||
//
|
||||
/**
|
||||
* 是否必须存在
|
||||
*
|
||||
* @return boolean
|
||||
*/
|
||||
public boolean required() default false;
|
||||
|
||||
/**
|
||||
* 资源名称
|
||||
|
||||
Reference in New Issue
Block a user