XklCityEntity.java 986 Bytes
package com.xkl.domain;

import lombok.Data;

import javax.persistence.*;

/**
 * Created by win7 on 2017/2/27.
 */
@Data
@Entity
@Table(name = "xkl_city")
public class XklCityEntity {
    @Id
    @GeneratedValue
    @Column(name = "id")
    private long id;
    @Basic
    @Column(name = "city_name")
    private String cityName;
    @Basic
    @Column(name = "parent_id")
    private long parentId;
    @Basic
    @Column(name = "state")
    private Byte state;
    @Basic
    @Column(name = "remark")
    private String remark;
    @Basic
    @Column(name = "city_sort")
    private Byte citySort;
    @Basic
    @Column(name = "city_area")
    private String cityArea;
    @Basic
    @Column(name = "id_card_code")
    private String idCardCode;
    @Basic
    @Column(name = "first_pinyin")
    private String firstPinyin;
    @Basic
    @Column(name = "full_pinyin")
    private String fullPinyin;
    @Basic
    @Column(name = "simple_pinyin")
    private String simplePinyin;
}