mybatis-plus generator template 中的全部属性
{
"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"
}
https://blog.csdn.net/qq_33842795/article/details/80227382 https://www.jianshu.com/p/8bf62ad92f54 自定义模板的使用方法
mybatis-plus generator template 中的全部属性的更多相关文章
- mybatis生成的pojo 中的属性或方法不够我们当做dto使用时
我们在写代码的时候,如果一个 mybatis生成的pojo 中的属性或方法不够我们使用(当做dto和前台交互)时,我们有两种方法: 第一: 直接在 原 pojo 中增加属性或者方法 第二:我们可以再写 ...
- Mybatis中实体类属性和数据列之间映射的四种办法
http://blog.csdn.net/lmy86263/article/details/53150091 Mybatis不像hibernate中那么自动化,通过@Column注解或者直接使用实体类 ...
- Mybatis中实体类属性与数据库列表间映射方法介绍
这篇文章主要介绍了Mybatis中实体类属性与数据列表间映射方法介绍,一共四种方法方法,供大家参考. Mybatis不像Hibernate中那么自动化,通过@Co ...
- SqlMapConfig.xml中的setting属性 Ibatis mybatis
<settingscacheModelsEnabled="true"lazyLoadingEnabled="false"enhancementEnable ...
- MyBatis - 7.MyBatis逆向 Generator
MyBatis Generator: 简称MBG,是一个专门为MyBatis框架使用者定制的代码生成器,可以快速的根据表生成对应的映射文件,接口,以及bean类.支持基本的增删改查,以及QBC风格的条 ...
- mybatis之generator生成代码
首先在pom文件中引入以下代码 <plugin> <groupId>org.mybatis.generator</groupId> <artifactId&g ...
- 【Mybatis】MyBatis之Generator自动生成代码(九)
MyBatis Generator 简介 MyBatis Generator 连接数据库表并生成MyBatis或iBatis文件.这有助于最大限度地减少使用MyBatis时为数据库文件创建简单CRUD ...
- meta标签中的http-equiv属性使用介绍(转载)
meta是html语言head区的一个辅助性标签.也许你认为这些代码可有可无.其实如果你能够用好meta标签,会给你带来意想不到的效果,meta标签的作用有:搜索引擎优化(SEO),定义页面使用语言, ...
- XML中的DOCTYPE属性
一.先来两个小例子 内部dtd将standalone设为真. <?xml version="1.0" standalone="yes"?> < ...
随机推荐
- python爬虫集合
逐渐也写了有二十余篇博文,内容一多就导致有些内容不能够方便快捷定位. 虽然博客有标签进行分类,实际查找时也并不如做一个同类文章的集合来得直观. 这里就对python爬虫相关博文做个集合: 爬虫基础知识 ...
- STM32HAL学习博客
https://www.cnblogs.com/wt88/category/1297945.html
- LightOj:1030-Discovering Gold(期望dp模板)
传送门:http://www.lightoj.com/volume_showproblem.php?problem=1030 Discovering Gold Time Limit: 2 second ...
- AD转换器的参数介绍
分辨率.参考电压这些地球人都知道的就不说了. 当“参考电压”和“分辨率”被确定后,每两个数值间的差值,即“步进量”. 上面的“步进量”在AD中称为1LSB(最低有效位,Least Significan ...
- HDU 4781 Assignment For Princess 构造
题意: 构造一个\(N(10 \leq N \leq 80)\)个顶点\(M(N+3 \leq M \leq \frac{N^2} {7})\)条边的有向图,要满足如下条件: 每条边有一个\([1,M ...
- Java学习笔记2---设置环境变量JAVA_HOME,CLASSPATH,PATH
1.环境变量包括: JAVA_HOME,CLASSPATH,PATH 2.设置环境变量的目的: 路径搜索,方便查找到jdk的安装路径.方便搜索用到的类文件.方便搜索用到的可执行文件如java,java ...
- 大数据学习——spark学习
计算圆周率 [root@mini1 bin]# ./run-example SparkPi [root@mini1 bin]# ./run-example SparkPi [root@mini1 bi ...
- Shape,expand_dims,slice基本用法
import tensorflow as tf t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]], [[5, 5, 5], ...
- 爬虫Scrapy框架-Crawlspider链接提取器与规则解析器
Crawlspider 一:Crawlspider简介 CrawlSpider其实是Spider的一个子类,除了继承到Spider的特性和功能外,还派生除了其自己独有的更加强大的特性和功能.其中最显著 ...
- poj 2499第K短路模板
第k*短路模板(单项边) #include <iostream> #include <cstdio> #include <algorithm> #include & ...