[
    {
        "dbType": "mysql",
        "columnTypes": [
            {
                "naslType": "Decimal",
                "dataBaseTypes": [
                    {
                        "type": "double",
                        "options": {},
                        "defaultType": false,
                        "min": null,
                        "max": null
                    },
                    {
                        "type": "float",
                        "options": {},
                        "defaultType": false,
                        "min": null,
                        "max": null
                    },
                    {
                        "type": "decimal",
                        "options": {
                            "precision": {
                                "min": "1",
                                "max": "65",
                                "comment": "精度",
                                "require": false,
                                "desc": "若存储类型为自动，则精度（小数位数+整数位数的总长度）为31；若为非自动，则可以定义在[1,65]之间的任意整数",
                                "default": "31"
                            },
                            "scale": {
                                "min": "0",
                                "max": "16",
                                "comment": "小数位数",
                                "require": false,
                                "desc": "",
                                "default": "2"
                            }
                        },
                        "defaultType": true,
                        "min": null,
                        "max": null
                    }
                ]
            },
            {
                "naslType": "Long",
                "dataBaseTypes": [
                    {
                        "type": "int",
                        "options": {
                            "displayWidth": {
                                "min": "1",
                                "max": "255",
                                "comment": "显示宽度",
                                "require": false,
                                "desc": "显示宽度可以定义在[1,255]之间的任意整数",
                                "default": "11"
                            }
                        },
                        "defaultType": false,
                        "min": "-2147483648",
                        "max": "2147483647"
                    },
                    {
                        "type": "tinyint",
                        "options": {
                            "displayWidth": {
                                "min": "1",
                                "max": "255",
                                "comment": "显示宽度",
                                "require": false,
                                "desc": "显示宽度可以定义在[1,255]之间的任意整数",
                                "default": "4"
                            }
                        },
                        "defaultType": false,
                        "min": "-128",
                        "max": "127"
                    },
                    {
                        "type": "smallint",
                        "options": {
                            "displayWidth": {
                                "min": "1",
                                "max": "255",
                                "comment": "显示宽度",
                                "require": false,
                                "desc": "显示宽度可以定义在[1,255]之间的任意整数",
                                "default": "6"
                            }
                        },
                        "defaultType": false,
                        "min": "-32768",
                        "max": "32767"
                    },
                    {
                        "type": "bigint",
                        "options": {
                            "displayWidth": {
                                "min": "1",
                                "max": "255",
                                "comment": "显示宽度",
                                "require": false,
                                "desc": "若存储类型为自动，则显示宽度为20；若为非自动，则可以定义在[1,255]之间的任意整数",
                                "default": "20"
                            }
                        },
                        "defaultType": true,
                        "min": "-9223372036854775808",
                        "max": "9223372036854775807"
                    },
                    {
                        "type": "mediumint",
                        "options": {
                            "displayWidth": {
                                "min": "1",
                                "max": "255",
                                "comment": "显示宽度",
                                "require": false,
                                "desc": "显示宽度可以定义在[1,255]之间的任意整数",
                                "default": "9"
                            }
                        },
                        "defaultType": false,
                        "min": "-8388608",
                        "max": "8388607"
                    }
                ]
            },
            {
                "naslType": "String",
                "dataBaseTypes": [
                    {
                        "type": "varchar",
                        "options": {
                            "length": {
                                "min": "1",
                                "max": "4000",
                                "comment": "存储长度",
                                "require": true,
                                "desc": "若存储类型为自动，则存储长度为255；若为非自动，则可以定义在[1,4000]之间的任意整数",
                                "default": "255"
                            }
                        },
                        "defaultType": true,
                        "min": "1",
                        "max": "4000"
                    },
                    {
                        "type": "char",
                        "options": {
                            "length": {
                                "min": "1",
                                "max": "255",
                                "comment": "存储长度",
                                "require": true,
                                "desc": "存储长度可以定义在[1,255]之间的任意整数",
                                "default": "255"
                            }
                        },
                        "defaultType": false,
                        "min": "1",
                        "max": "255"
                    },
                    {
                        "type": "text",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "65535"
                    },
                    {
                        "type": "tinytext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "255"
                    },
                    {
                        "type": "mediumtext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "16777215"
                    },
                    {
                        "type": "longtext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "4294967295"
                    }
                ]
            },
            {
                "naslType": "reference",
                "dataBaseTypes": [
                    {
                        "type": "text",
                        "options": {},
                        "defaultType": true,
                        "min": "1",
                        "max": "65535"
                    },
                    {
                        "type": "tinytext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "255"
                    },
                    {
                        "type": "mediumtext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "16777215"
                    },
                    {
                        "type": "longtext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "4294967295"
                    }
                ]
            },
            {
                "naslType": "generic",
                "dataBaseTypes": [
                    {
                        "type": "text",
                        "options": {},
                        "defaultType": true,
                        "min": "1",
                        "max": "65535"
                    },
                    {
                        "type": "tinytext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "255"
                    },
                    {
                        "type": "mediumtext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "16777215"
                    },
                    {
                        "type": "longtext",
                        "options": {},
                        "defaultType": false,
                        "min": "1",
                        "max": "4294967295"
                    }
                ]
            },
            {
                "naslType": "Boolean",
                "dataBaseTypes": [
                    {
                        "type": "tinyint",
                        "options": {
                            "displayWidth": {
                                "min": "1",
                                "max": "1",
                                "comment": "显示宽度",
                                "require": true,
                                "desc": "若存储类型为自动，则显示宽度为1；若为非自动，则可以定义在[1,1]之间的任意整数",
                                "default": "1"
                            }
                        },
                        "defaultType": true,
                        "min": null,
                        "max": null
                    }
                ]
            },
            {
                "naslType": "Date",
                "dataBaseTypes": [
                    {
                        "type": "date",
                        "options": {},
                        "defaultType": true,
                        "min": null,
                        "max": null
                    }
                ]
            },
            {
                "naslType": "Time",
                "dataBaseTypes": [
                    {
                        "type": "time",
                        "options": {},
                        "defaultType": true,
                        "min": null,
                        "max": null
                    }
                ]
            },
            {
                "naslType": "DateTime",
                "dataBaseTypes": [
                    {
                        "type": "datetime",
                        "options": {},
                        "defaultType": true,
                        "min": null,
                        "max": null
                    },
                    {
                        "type": "timestamp",
                        "options": {},
                        "defaultType": false,
                        "min": null,
                        "max": null
                    }
                ]
            },
            {
                "naslType": "Binary",
                "dataBaseTypes": [
                    {
                        "type": "blob",
                        "options": {},
                        "defaultType": true,
                        "min": null,
                        "max": null
                    },
                    {
                        "type": "tinyblob",
                        "options": {},
                        "defaultType": false,
                        "min": null,
                        "max": null
                    },
                    {
                        "type": "mediumblob",
                        "options": {},
                        "defaultType": false,
                        "min": null,
                        "max": null
                    },
                    {
                        "type": "longblob",
                        "options": {},
                        "defaultType": false,
                        "min": null,
                        "max": null
                    },
                    {
                        "type": "binary",
                        "options": {},
                        "defaultType": false,
                        "min": null,
                        "max": null
                    }
                ]
            },
            {
                "naslType": "enum",
                "dataBaseTypes": [
                    {
                        "type": "varchar",
                        "options": {
                            "length": {
                                "min": "1",
                                "max": "4000",
                                "comment": "存储长度",
                                "require": true,
                                "desc": "若存储类型为自动，则存储长度为256；若为非自动，则可以定义在[1,4000]之间的任意整数",
                                "default": "256"
                            }
                        },
                        "defaultType": true,
                        "min": "1",
                        "max": "4000"
                    }
                ]
            }
        ],
        "dbColumnTypeMap": {
            "longtext": {
                "columnType": "longtext",
                "defaultMapping": false,
                "minValue": "1",
                "maxValue": "4294967295",
                "options": {},
                "alias": [
                    "longtext"
                ]
            },
            "date": {
                "columnType": "date",
                "defaultMapping": true,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "date"
                ]
            },
            "mediumint": {
                "columnType": "mediumint",
                "defaultMapping": false,
                "minValue": "-8388608",
                "maxValue": "8388607",
                "options": {
                    "displayWidth": {
                        "min": "1",
                        "max": "255",
                        "comment": "显示宽度",
                        "require": false,
                        "defaultValue": "9",
                        "desc": "显示宽度可以定义在[1,255]之间的任意整数"
                    }
                },
                "alias": [
                    "mediumint",
                    "int3"
                ]
            },
            "mediumtext": {
                "columnType": "mediumtext",
                "defaultMapping": false,
                "minValue": "1",
                "maxValue": "16777215",
                "options": {},
                "alias": [
                    "mediumtext"
                ]
            },
            "double": {
                "columnType": "double",
                "defaultMapping": true,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "double",
                    "real"
                ]
            },
            "tinytext": {
                "columnType": "tinytext",
                "defaultMapping": false,
                "minValue": "1",
                "maxValue": "255",
                "options": {},
                "alias": [
                    "tinytext"
                ]
            },
            "varchar": {
                "columnType": "varchar",
                "defaultMapping": true,
                "minValue": "1",
                "maxValue": "4000",
                "options": {
                    "length": {
                        "min": "1",
                        "max": "4000",
                        "comment": "存储长度",
                        "require": true,
                        "defaultValue": "256",
                        "desc": "若存储类型为自动，则存储长度为256；若为非自动，则可以定义在[1,4000]之间的任意整数"
                    }
                },
                "alias": [
                    "varchar",
                    "character varying"
                ]
            },
            "tinyint": {
                "columnType": "tinyint",
                "defaultMapping": true,
                "minValue": null,
                "maxValue": null,
                "options": {
                    "displayWidth": {
                        "min": "1",
                        "max": "1",
                        "comment": "显示宽度",
                        "require": true,
                        "defaultValue": "1",
                        "desc": "若存储类型为自动，则显示宽度为1；若为非自动，则可以定义在[1,1]之间的任意整数"
                    }
                },
                "alias": [
                    "tinyint",
                    "int1",
                    "boolean",
                    "bool"
                ]
            },
            "float": {
                "columnType": "float",
                "defaultMapping": false,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "float"
                ]
            },
            "int": {
                "columnType": "int",
                "defaultMapping": true,
                "minValue": "-2147483648",
                "maxValue": "2147483647",
                "options": {
                    "displayWidth": {
                        "min": "1",
                        "max": "255",
                        "comment": "显示宽度",
                        "require": false,
                        "defaultValue": "11",
                        "desc": "显示宽度可以定义在[1,255]之间的任意整数"
                    }
                },
                "alias": [
                    "int",
                    "integer",
                    "int4"
                ]
            },
            "mediumblob": {
                "columnType": "mediumblob",
                "defaultMapping": false,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "mediumblob"
                ]
            },
            "smallint": {
                "columnType": "smallint",
                "defaultMapping": false,
                "minValue": "-32768",
                "maxValue": "32767",
                "options": {
                    "displayWidth": {
                        "min": "1",
                        "max": "255",
                        "comment": "显示宽度",
                        "require": false,
                        "defaultValue": "6",
                        "desc": "显示宽度可以定义在[1,255]之间的任意整数"
                    }
                },
                "alias": [
                    "smallint",
                    "int2"
                ]
            },
            "datetime": {
                "columnType": "datetime",
                "defaultMapping": true,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "datetime"
                ]
            },
            "blob": {
                "columnType": "blob",
                "defaultMapping": true,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "blob"
                ]
            },
            "binary": {
                "columnType": "binary",
                "defaultMapping": false,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "binary"
                ]
            },
            "char": {
                "columnType": "char",
                "defaultMapping": false,
                "minValue": "1",
                "maxValue": "255",
                "options": {
                    "length": {
                        "min": "1",
                        "max": "255",
                        "comment": "存储长度",
                        "require": true,
                        "defaultValue": "255",
                        "desc": "存储长度可以定义在[1,255]之间的任意整数"
                    }
                },
                "alias": [
                    "char",
                    "character"
                ]
            },
            "longblob": {
                "columnType": "longblob",
                "defaultMapping": false,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "longblob"
                ]
            },
            "text": {
                "columnType": "text",
                "defaultMapping": true,
                "minValue": "1",
                "maxValue": "65535",
                "options": {},
                "alias": [
                    "text"
                ]
            },
            "time": {
                "columnType": "time",
                "defaultMapping": true,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "time"
                ]
            },
            "decimal": {
                "columnType": "decimal",
                "defaultMapping": true,
                "minValue": null,
                "maxValue": null,
                "options": {
                    "precision": {
                        "min": "1",
                        "max": "65",
                        "comment": "精度",
                        "require": false,
                        "defaultValue": "31",
                        "desc": "若存储类型为自动，则精度（小数位数+整数位数的总长度）为31；若为非自动，则可以定义在[1,65]之间的任意整数"
                    },
                    "scale": {
                        "min": "0",
                        "max": "16",
                        "comment": "小数位数",
                        "require": false,
                        "defaultValue": "2",
                        "desc": ""
                    }
                },
                "alias": [
                    "decimal",
                    "numeric"
                ]
            },
            "bigint": {
                "columnType": "bigint",
                "defaultMapping": true,
                "minValue": "-9223372036854775808",
                "maxValue": "9223372036854775807",
                "options": {
                    "displayWidth": {
                        "min": "1",
                        "max": "255",
                        "comment": "显示宽度",
                        "require": false,
                        "defaultValue": "20",
                        "desc": "若存储类型为自动，则显示宽度为20；若为非自动，则可以定义在[1,255]之间的任意整数"
                    }
                },
                "alias": [
                    "bigint",
                    "int8",
                    "signed",
                    "unsigned"
                ]
            },
            "tinyblob": {
                "columnType": "tinyblob",
                "defaultMapping": false,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "tinyblob"
                ]
            },
            "timestamp": {
                "columnType": "timestamp",
                "defaultMapping": false,
                "minValue": null,
                "maxValue": null,
                "options": {},
                "alias": [
                    "timestamp"
                ]
            }
        }
    }
]
