package com.mbg.mybatis;
public class City {
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column city.ID
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
private Long id;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column city.Name
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
private String name;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column city.CountryCode
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
private String countrycode;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column city.District
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
private String district;
/**
*
* This field was generated by MyBatis Generator.
* This field corresponds to the database column city.Population
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
private Integer population;
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column city.ID
*
* @return the value of city.ID
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column city.ID
*
* @param id the value for city.ID
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public void setId(Long id) {
this.id = id;
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column city.Name
*
* @return the value of city.Name
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public String getName() {
return name;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column city.Name
*
* @param name the value for city.Name
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public void setName(String name) {
this.name = name == null ? null : name.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column city.CountryCode
*
* @return the value of city.CountryCode
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public String getCountrycode() {
return countrycode;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column city.CountryCode
*
* @param countrycode the value for city.CountryCode
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public void setCountrycode(String countrycode) {
this.countrycode = countrycode == null ? null : countrycode.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column city.District
*
* @return the value of city.District
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public String getDistrict() {
return district;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column city.District
*
* @param district the value for city.District
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public void setDistrict(String district) {
this.district = district == null ? null : district.trim();
}
/**
* This method was generated by MyBatis Generator.
* This method returns the value of the database column city.Population
*
* @return the value of city.Population
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public Integer getPopulation() {
return population;
}
/**
* This method was generated by MyBatis Generator.
* This method sets the value of the database column city.Population
*
* @param population the value for city.Population
*
* @mbg.generated Wed Oct 26 16:01:47 GMT+08:00 2016
*/
public void setPopulation(Integer population) {
this.population = population;
}
}
mybatis-generator工具的使用
需积分: 9 121 浏览量
2016-10-26
16:15:20
上传
评论
收藏 17KB ZIP 举报
游响云停
- 粉丝: 536
- 资源: 58
最新资源
- 基于Typescript和PHP的编程知识储备库设计源码 - study-php
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
- 基于Dart的Flutter小提琴调音器APP设计源码 - violinhelper
- 基于JavaScript和CSS的随寻订购网页设计源码 - web-order
- 基于MATLAB的声纹识别系统设计源码 - VoiceprintRecognition
- 基于Java的微服务插件集合设计源码 - wsy-plugins
- 基于Vue和微信小程序的监理日志系统设计源码 - supervisionLog
- 基于Java和LCN分布式事务框架的设计源码 - tx-lcn
- 基于Java和JavaScript的茶叶评级管理系统设计源码 - tea
- IMG_5680.JPG
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈