| New file | 
|  |  |  | 
|---|
|  |  |  | package com.moral.entity; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import javax.persistence.Id; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import lombok.Data; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | public class Town { | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * This field was generated by MyBatis Generator. This field corresponds to the database column town.town_code | 
|---|
|  |  |  | * @mbg.generated  Mon Jun 11 14:14:20 CST 2018 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @Id | 
|---|
|  |  |  | private Long townCode; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * This field was generated by MyBatis Generator. This field corresponds to the database column town.town_name | 
|---|
|  |  |  | * @mbg.generated  Mon Jun 11 14:14:20 CST 2018 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private String townName; | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * This field was generated by MyBatis Generator. This field corresponds to the database column town.area_code | 
|---|
|  |  |  | * @mbg.generated  Mon Jun 11 14:14:20 CST 2018 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | private Integer areaCode; | 
|---|
|  |  |  | } | 
|---|