File tree 10 files changed +142
-5
lines changed
java/com/codingapi/springboot/framework/annotation
springboot-starter-data-fast
springboot-starter-security
10 files changed +142
-5
lines changed Original file line number Diff line number Diff line change 12
12
13
13
<groupId >com.codingapi.springboot</groupId >
14
14
<artifactId >springboot-parent</artifactId >
15
- <version >2.9.13 </version >
15
+ <version >2.9.14 </version >
16
16
17
17
<url >https://github.com/codingapi/springboot-framewrok</url >
18
18
<name >springboot-parent</name >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<artifactId >springboot-parent</artifactId >
7
7
<groupId >com.codingapi.springboot</groupId >
8
- <version >2.9.13 </version >
8
+ <version >2.9.14 </version >
9
9
</parent >
10
10
<modelVersion >4.0.0</modelVersion >
11
11
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<artifactId >springboot-parent</artifactId >
8
8
<groupId >com.codingapi.springboot</groupId >
9
- <version >2.9.13 </version >
9
+ <version >2.9.14 </version >
10
10
</parent >
11
11
12
12
<name >springboot-starter-flow</name >
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<artifactId >springboot-parent</artifactId >
8
8
<groupId >com.codingapi.springboot</groupId >
9
- <version >2.9.13 </version >
9
+ <version >2.9.14 </version >
10
10
</parent >
11
11
12
12
<artifactId >springboot-starter-security</artifactId >
Original file line number Diff line number Diff line change 5
5
<parent >
6
6
<groupId >com.codingapi.springboot</groupId >
7
7
<artifactId >springboot-parent</artifactId >
8
- <version >2.9.13 </version >
8
+ <version >2.9.14 </version >
9
9
</parent >
10
10
<artifactId >springboot-starter</artifactId >
11
11
Original file line number Diff line number Diff line change
1
+ package com .codingapi .springboot .framework .annotation ;
2
+
3
+ /**
4
+ * 数据库字段类型
5
+ */
6
+ public enum ColumnType {
7
+
8
+ /**
9
+ * 整数
10
+ */
11
+ Number ,
12
+
13
+ /**
14
+ * 浮点数
15
+ */
16
+ Float ,
17
+
18
+ /**
19
+ * 字符串
20
+ */
21
+ String ,
22
+
23
+ /**
24
+ * 日期
25
+ */
26
+ Date ,
27
+
28
+ /**
29
+ * 文件
30
+ */
31
+ File ,
32
+
33
+ /**
34
+ * 布尔
35
+ */
36
+ Boolean ,
37
+
38
+ /**
39
+ * 字节
40
+ */
41
+ Bytes ,
42
+
43
+ /**
44
+ * JSON
45
+ */
46
+ JSON ,
47
+ }
Original file line number Diff line number Diff line change
1
+ package com .codingapi .springboot .framework .annotation ;
2
+
3
+ import java .lang .annotation .*;
4
+
5
+ /**
6
+ * 查询字段
7
+ */
8
+ @ Target ({ElementType .FIELD })
9
+ @ Retention (RetentionPolicy .RUNTIME )
10
+ @ Documented
11
+ public @interface MetaColumn {
12
+
13
+ /**
14
+ * 字段说明
15
+ */
16
+ String desc ();
17
+
18
+ /**
19
+ * 字段名称
20
+ */
21
+ String name ();
22
+
23
+ /**
24
+ * 是否主键
25
+ */
26
+ boolean primaryKey () default false ;
27
+
28
+ /**
29
+ * 字段类型
30
+ */
31
+ ColumnType type () default ColumnType .String ;
32
+
33
+ /**
34
+ * 格式化
35
+ */
36
+ String format () default "" ;
37
+
38
+ /**
39
+ * 依赖表
40
+ */
41
+ MetaRelation dependent () default @ MetaRelation (tableName = "" , columnName = "" );
42
+
43
+ }
Original file line number Diff line number Diff line change
1
+ package com .codingapi .springboot .framework .annotation ;
2
+
3
+ import java .lang .annotation .Documented ;
4
+ import java .lang .annotation .Retention ;
5
+ import java .lang .annotation .RetentionPolicy ;
6
+
7
+ @ Retention (RetentionPolicy .RUNTIME )
8
+ @ Documented
9
+ public @interface MetaRelation {
10
+
11
+ /**
12
+ * 表名称
13
+ */
14
+ String tableName ();
15
+
16
+ /**
17
+ * 字段名称
18
+ */
19
+ String columnName ();
20
+ }
Original file line number Diff line number Diff line change
1
+ package com .codingapi .springboot .framework .annotation ;
2
+
3
+ import java .lang .annotation .*;
4
+
5
+ /**
6
+ * 查询表
7
+ */
8
+ @ Target ({ElementType .TYPE })
9
+ @ Retention (RetentionPolicy .RUNTIME )
10
+ @ Documented
11
+ public @interface MetaTable {
12
+
13
+ /**
14
+ * 表说明
15
+ */
16
+ String desc ();
17
+
18
+ /**
19
+ * 表名称
20
+ */
21
+ String name ();
22
+
23
+ }
Original file line number Diff line number Diff line change
1
+ ------------------------------------------------------
2
+ CodingApi SpringBoot-Starter 2.9.14
3
+ springboot version (${spring-boot.version})
4
+ ------------------------------------------------------
You can’t perform that action at this time.
0 commit comments