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;

/**
 * Created By lidexi in 2020/12/23
 * 全国街道实体类
 **/
@Getter
@Setter
@TableName(value = "sys_street")
public class Street  extends BaseEntity {

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

    /**
     * 街道行政编码
     */
    @TableField(value = "s_code")
    private String code;

    /**
     * 街道所属省行政编码
     */
    @TableField(value = "s_province_code")
    private String provinceCode;

    /**
     *街道所属市行政编码
     */
    @TableField(value = "s_city_code")
    private String cityCode;

    /**
     * 街道所属区行政编码
     */
    @TableField(value = "s_area_code")
    private String areaCode;

}
