-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen.dsl.txt
24 lines (24 loc) · 1.21 KB
/
gen.dsl.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"TableName":"user", //database table name
"TableComment":"用户", //database table comment
"ModelName":"User", //model name
"ModelNameFirstLower":"user", //model name which first letter is lower case
"BasePath":"/user", //base url path
"Fields": [
{
"Col":"id", //table column
"ColType":"BIGINT", //column data type
"ColTypeLower":"bigint" //column data type lower case
"ColTypeLen":0, //column data type length
"ColComment":"ID", //column comment
"ColNull":false, //column is null ?
"ColPk":true //primary key
"ColCreate":false //create time column
"ColUpdate":false //update time column
"ColSystem":true //ColPk or ColCreate or ColUpdate
"Property":"Id", //model property
"PropertyType":"int64", //model property type
"PropertyCamel":"id", //model property camel format with first char in lower case
}
]
}