mybatis-plus generator template 中的全部属性

https://blog.csdn.net/weixin_30258027/article/details/96643686

{
    "date": "2018-10-30",
    "superServiceImplClassPackage": "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl",
    "baseResultMap": true,
    "superMapperClass": "BaseMapper",
    "activeRecord": true,
    "superServiceClass": "IService",
    "superServiceImplClass": "ServiceImpl",
    "table": {
        "comment": "查询指定城市所有测点的空气质量实况每小时更新",
        "commonFields": [],
        "controllerName": "AirStatLiveDataController",
        "convert": false,
        "entityName": "AirStatLiveData",
        "entityPath": "airStatLiveData",
        "fieldNames": "table_id, citycode, cityname, createtime, time, info, devid, stationname, aqi, pm25, pm10, co, so2, no2, o3, prkey",
        "fields": [{
            "capitalName": "TableId",
            "columnType": "LONG",
            "comment": "表单id",
            "convert": false,
            "keyFlag": true,
            "keyIdentityFlag": true,
            "name": "table_id",
            "propertyName": "tableId",
            "propertyType": "Long",
            "type": "bigint(20)"
        }, {
            "capitalName": "Citycode",
            "columnType": "STRING",
            "comment": "城市编码",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "citycode",
            "propertyName": "citycode",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Cityname",
            "columnType": "STRING",
            "comment": "城市名称",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "cityname",
            "propertyName": "cityname",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Createtime",
            "columnType": "STRING",
            "comment": "数据更新时间",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "createtime",
            "propertyName": "createtime",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Time",
            "columnType": "STRING",
            "comment": "数据发布时间",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "time",
            "propertyName": "time",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Info",
            "columnType": "STRING",
            "comment": "空气质量数据列表",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "info",
            "propertyName": "info",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Devid",
            "columnType": "STRING",
            "comment": "测点编号",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "devid",
            "propertyName": "devid",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Stationname",
            "columnType": "STRING",
            "comment": "测点名称",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "stationname",
            "propertyName": "stationname",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Aqi",
            "columnType": "STRING",
            "comment": "空气质量指数",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "aqi",
            "propertyName": "aqi",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Pm25",
            "columnType": "STRING",
            "comment": "pm2.5值(μg/m³)",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "pm25",
            "propertyName": "pm25",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Pm10",
            "columnType": "STRING",
            "comment": "pm10值(μg/m³)",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "pm10",
            "propertyName": "pm10",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Co",
            "columnType": "STRING",
            "comment": "一氧化碳值(mg/m³)",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "co",
            "propertyName": "co",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "So2",
            "columnType": "STRING",
            "comment": "二氧化硫值(μg/m³)",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "so2",
            "propertyName": "so2",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "No2",
            "columnType": "STRING",
            "comment": "二氧化氮值(μg/m³)",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "no2",
            "propertyName": "no2",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "O3",
            "columnType": "STRING",
            "comment": "臭氧值(μg/m³)",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "o3",
            "propertyName": "o3",
            "propertyType": "String",
            "type": "varchar(50)"
        }, {
            "capitalName": "Prkey",
            "columnType": "STRING",
            "comment": "首要污染物",
            "convert": false,
            "keyFlag": false,
            "keyIdentityFlag": false,
            "name": "prkey",
            "propertyName": "prkey",
            "propertyType": "String",
            "type": "varchar(50)"
        }],
        "importPackages": ["com.baomidou.mybatisplus.annotation.IdType", "com.baomidou.mybatisplus.extension.activerecord.Model", "com.baomidou.mybatisplus.annotation.TableId", "java.io.Serializable"],
        "mapperName": "AirStatLiveDataMapper",
        "name": "air_stat_live_data",
        "serviceImplName": "AirStatLiveDataServiceImpl",
        "serviceName": "AirStatLiveDataService",
        "xmlName": "AirStatLiveDataMapper"
    },
    "package": {
        "Entity": "com.enso.entity",
        "Mapper": "com.enso.mapper",
        "Xml": "com.enso.mapper",
        "ServiceImpl": "com.enso.service.impl",
        "Service": "com.enso.service",
        "Controller": "com.enso.controller"
    },
    "author": "Mr.Wang",
    "swagger2": false,
    "baseColumnList": false,
    "kotlin": false,
    "entityLombokModel": false,
    "superMapperClassPackage": "com.baomidou.mybatisplus.core.mapper.BaseMapper",
    "restControllerStyle": false,
    "entityBuilderModel": true,
    "superServiceClassPackage": "com.baomidou.mybatisplus.extension.service.IService",
    "entityBooleanColumnRemoveIsPrefix": false,
    "entityColumnConstant": false,
    "config": {
        "globalConfig": {
            "activeRecord": true,
            "author": "Mr.Wang",
            "baseColumnList": false,
            "baseResultMap": true,
            "controllerName": "%sController",
            "dateType": "TIME_PACK",
            "enableCache": false,
            "fileOverride": false,
            "kotlin": false,
            "mapperName": "%sMapper",
            "open": false,
            "outputDir": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java",
            "serviceImplName": "%sServiceImpl",
            "serviceName": "%sService",
            "swagger2": false,
            "xmlName": "%sMapper"
        },
        "packageInfo": {
            "$ref": "$.package"
        },
        "pathInfo": {
            "entity_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\entity",
            "controller_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\controller",
            "xml_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\mapper",
            "service_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\service",
            "mapper_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\mapper",
            "service_impl_path": "C:\\Users\\Administrator\\IdeaProjects\\nan-ning\\src\\main\\java\\com\\enso\\service\\impl"
        },
        "strategyConfig": {
            "capitalMode": false,
            "columnNaming": "underline_to_camel",
            "controllerMappingHyphenStyle": false,
            "entityBooleanColumnRemoveIsPrefix": false,
            "entityBuilderModel": true,
            "entityColumnConstant": false,
            "entityLombokModel": false,
            "entityTableFieldAnnotationEnable": false,
            "include": ["air_stat_live_data"],
            "naming": "underline_to_camel",
            "restControllerStyle": false,
            "skipView": false,
            "superMapperClass": "com.baomidou.mybatisplus.core.mapper.BaseMapper",
            "superServiceClass": "com.baomidou.mybatisplus.extension.service.IService",
            "superServiceImplClass": "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl"
        },
        "superMapperClass": "com.baomidou.mybatisplus.core.mapper.BaseMapper",
        "superServiceClass": "com.baomidou.mybatisplus.extension.service.IService",
        "superServiceImplClass": "com.baomidou.mybatisplus.extension.service.impl.ServiceImpl",
        "tableInfoList": [{
            "$ref": "$.table"
        }],
        "template": {
            "controller": "/templates/controller.java",
            "mapper": "/templates/mapper.java",
            "service": "/templates/service.java",
            "serviceImpl": "/templates/serviceImpl.java",
            "xml": "/templates/mapper.xml"
        }
    },
    "enableCache": false,
    "entity": "AirStatLiveData"
}

 

posted @ 2021-06-21 14:46  shiningrise  阅读(240)  评论(0编辑  收藏  举报
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css