File tree Expand file tree Collapse file tree 10 files changed +142
-5
lines changed
springboot-starter-data-fast
springboot-starter-security
java/com/codingapi/springboot/framework/annotation Expand file tree Collapse file tree 10 files changed +142
-5
lines changed Original file line number Diff line number Diff line change 1212
1313 <groupId >com.codingapi.springboot</groupId >
1414 <artifactId >springboot-parent</artifactId >
15- <version >2.9.13 </version >
15+ <version >2.9.14 </version >
1616
1717 <url >https://github.com/codingapi/springboot-framewrok</url >
1818 <name >springboot-parent</name >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >springboot-parent</artifactId >
77 <groupId >com.codingapi.springboot</groupId >
8- <version >2.9.13 </version >
8+ <version >2.9.14 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >2.9.13 </version >
9+ <version >2.9.14 </version >
1010 </parent >
1111
1212 <name >springboot-starter-flow</name >
Original file line number Diff line number Diff line change 66 <parent >
77 <artifactId >springboot-parent</artifactId >
88 <groupId >com.codingapi.springboot</groupId >
9- <version >2.9.13 </version >
9+ <version >2.9.14 </version >
1010 </parent >
1111
1212 <artifactId >springboot-starter-security</artifactId >
Original file line number Diff line number Diff line change 55 <parent >
66 <groupId >com.codingapi.springboot</groupId >
77 <artifactId >springboot-parent</artifactId >
8- <version >2.9.13 </version >
8+ <version >2.9.14 </version >
99 </parent >
1010 <artifactId >springboot-starter</artifactId >
1111
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