xufenglei
2018-06-12 44164c75df0b09133f1a001d38a41c408666b307
镇村 选项
2 files added
33 ■■■■■ changed files
src/main/java/com/moral/entity/Town.java 25 ●●●●● patch | view | raw | blame | history
src/main/java/com/moral/mapper/TownMapper.java 8 ●●●●● patch | view | raw | blame | history
src/main/java/com/moral/entity/Town.java
New file
@@ -0,0 +1,25 @@
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;
}
src/main/java/com/moral/mapper/TownMapper.java
New file
@@ -0,0 +1,8 @@
package com.moral.mapper;
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.Town;
public interface TownMapper extends BaseMapper<Town>{
}