-
Notifications
You must be signed in to change notification settings - Fork 0
/
.m2m.yaml
49 lines (42 loc) · 914 Bytes
/
.m2m.yaml
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
database:
type: mysql
host: "127.0.0.1"
port: 3306
user: root
password: root
name: shadow
params: useInformationSchema=true&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&autoReconnect=true
style:
indent: 1
indentStyle: tab
path: src
package:
base: io.eightpigs.test.model
group:
user: user
order: order
tables:
- users
- items
info:
author: eightpigs <eightpigs@outlook.com>
date: ${datetime}
classes:
- tableName: "*"
comment: true
constructors:
full: true
empty: true
annotations:
- '@DBTable(name="${tableName}")'
imports:
- io.eightpigs.tools.mybatis.annotation.DBTable
properties:
- columnName: "*"
getter: true
setter: true
comment: true
annotations:
- '@DBField(name="${column}")'
imports:
- io.eightpigs.tools.mybatis.annotation.DBField