We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a19062 commit b555cc3Copy full SHA for b555cc3
weixin-java-common/src/main/java/me/chanjar/weixin/common/annotation/Required.java
@@ -0,0 +1,19 @@
1
+package me.chanjar.weixin.common.annotation;
2
+
3
+import java.lang.annotation.ElementType;
4
+import java.lang.annotation.Retention;
5
+import java.lang.annotation.RetentionPolicy;
6
+import java.lang.annotation.Target;
7
8
+/**
9
+ * 标识某个字段是否是必填的
10
+ *
11
+ * Created by Binary Wang on 2016/9/25.
12
+ * @author binarywang (https://github.com/binarywang)
13
14
+ */
15
+@Retention(RetentionPolicy.RUNTIME)
16
+@Target(ElementType.FIELD)
17
+public @interface Required {
18
19
+}
0 commit comments