package com.sptg.permissions.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.sptg.common.core.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * title: Area
 * package: com.sptg.permissions.api.entity
 * description: 全国省市区-实体类
 *
 *                  
 *                
 */
@Getter
@Setter
@TableName(value = "sys_area")
public class Area extends BaseEntity {

    /**
     * 编号
     */
    @TableField(value = "s_code")
    private String code;

    /**
     * 父级编号
     */
    @TableField(value = "s_parent_code")
    private String parentCode;

    /**
     * 名称
     */
    @TableField(value = "s_name")
    private String name;

    /**
     * 简写名称
     */
    @TableField(value = "s_short_name")
    private String shortName;

    /**
     * 繁体名字
     */
    @TableField(value = "s_traditional_name")
    private String traditionalName;

    /**
     * 英语名称
     */
    @TableField(value = "s_english_name")
    private String englishName;

    /**
     * 省市区街道全称
     */
    @TableField(value = "s_merger_name")
    private String mergerName;

    /**
     * 层级
     */
    @TableField(value = "i_layer_number")
    private String layerNumber;

    /**
     * 邮编
     */
    @TableField(value = "s_zip_code")
    private String zipCode;

    /**
     * 城市编号
     */
    @TableField(value = "s_city_code")
    private String cityCode;

    /**
     * 拼音
     */
    @TableField(value = "s_pinyin")
    private String pinyin;

    /**
     * 伟度
     */
    @TableField(value = "s_lat")
    private String lat;

    /**
     * 经度
     */
    @TableField(value = "s_lng")
    private String lng;

    /**
     * 首字母
     */
    @TableField(value = "s_first_letter")
    private String firstLetter;

}
