-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig_example.json
95 lines (95 loc) · 1.9 KB
/
config_example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"autoTypes": [
"model",
"service",
"dao",
"mapper"
],
"project": {
"path": "/Users/chenyuqing/IdeaProjects/AutoCode/",
"subModule": "autocode.test",
"javaRoot": "src/main/java",
"resourcesRoot": "src/main/resources",
"testJavaRoot": "src/test/java/",
"testResourcesRoot": "src/main/resources",
"underline2Camel": true,
"generateOgnl": false,
"exclude": [
"t_test_add_table",
"t_test_addtable"
],
"include": [
]
},
"model": {
"summary": "",
"packageName": "washmore.model",
"visitorWithDoc": false,
"toString": true
},
"dataFile": {
"service": {
"summary": "",
"packageName": "washmore.service",
"baseSuffix": "BaseService",
"abstractBase": true,
"batchLimit": 100,
"suffix": "Service"
},
"dao": {
"summary": "",
"packageName": "washmore.dao",
"baseSuffix": "BaseDao",
"suffix": "Dao"
},
"mapper": {
"fullParams": false,
"usekeyProperty": true,
"path": "mappers",
"baseSuffix": "BaseMapper",
"suffix": "Mapper"
},
"methodInclude": [
],
"methodExclude": [
]
},
"db": {
"tableNamePrefix": [
"t_",
"x_"
],
"driver": "com.mysql.jdbc.Driver",
"url": "jdbc:mysql://localhost:3306/test?serverTimezone=Asia/Shanghai&useSSL=false&useUnicode=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true",
"username": "root",
"password": ""
},
"doc": {
"author": "Washmore",
"version": "V1",
"copyright": "(c) 2018, Washmore All Rights Reserved."
},
"dataType": {
"date": [
"timestamp",
"datetime"
],
"string": [
"char",
"varchar",
"text"
],
"integer": [
"int",
"smallint",
"tinyint"
],
"longL": [
"bigint"
],
"doubleD": [
"double",
"float"
]
}
}