-
Notifications
You must be signed in to change notification settings - Fork 0
/
gentoolplus_config.json
53 lines (53 loc) · 1.3 KB
/
gentoolplus_config.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
{
"version": "1.0",
"database": {
"dbDriver": "mysql",
"dbName": "sqltest",
"dsn": "user:pwd@tcp(localhost:3306)/sqltest?charset=utf8mb4&parseTime=True&loc=Local",
"outPath": "./dao/query",
"outFile": "gentoolplus.go",
"nspname": "public",
"dataMap": {
"tinyint": "int64",
"smallint": "int64",
"mediumint": "int64",
"bigint": "int64",
"int": "int64"
},
"fieldNullable": true,
"fieldCoverable": true,
"fieldSignable": false,
"fieldWithIndexTag": false,
"fieldWithTypeTag": false,
"withUnitTest": false,
"singularTable": true,
"modelPkgPath": "model",
"tables": [],
"belongstoTables": {
"staff": [
"department"
],
"user": [
"company"
],
"address": [
"company"
]
},
"hasoneTables": {
"user": [
"staff"
]
},
"many2manyTables": {
"staff_role": [
"staff",
"role"
],
"user_languages": [
"user",
"language"
]
}
}
}