chore: 优化部分配置

This commit is contained in:
2024-08-29 20:14:43 +08:00
parent ecc98b1999
commit bd7bf43134

View File

@@ -9,12 +9,6 @@ generator:
## 类型映射 ## 类型映射
typeMappings: typeMappings:
MYSQL: MYSQL:
Integer:
- int
- tinyint
- smallint
- mediumint
- integer
String: String:
- varchar - varchar
- char - char
@@ -23,21 +17,27 @@ generator:
- longtext - longtext
- tinytext - tinytext
- json - json
LocalDate: Integer:
- date - int
LocalDateTime: - tinyint
- datetime - smallint
- timestamp - mediumint
- integer
Long: Long:
- bigint - bigint
Float: Float:
- float - float
Double: Double:
- double - double
BigDecimal:
- decimal
Boolean: Boolean:
- bit - bit
BigDecimal:
- decimal
LocalDate:
- date
LocalDateTime:
- datetime
- timestamp
## 模板配置 ## 模板配置
templateConfigs: templateConfigs:
DO: DO: