SysArea.java 1.6 KB
package com.skua.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.util.Date;

/**
 * 地区信息表
 * @author 11389
 */
@Data
public class SysArea implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**ID*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private String id;
    /**地区编码*/
    @ApiModelProperty(value = "地区编码")
    private String areaCode;
    /**地区名*/
    @ApiModelProperty(value = "地区名")
    @Excel(name="地区名",width=15)
    private String areaName;
    /**地区级别(1:省份province,2:市city,3:区县district,4:街道street)*/
    @ApiModelProperty(value = "地区级别(1:省份province,2:市city,3:区县district,4:街道street)")
    @Excel(name="地区级别(1:省份province,2:市city,3:区县district,4:街道street)",width=15)
    private String level;
    /**城市编码*/
    @ApiModelProperty(value = "城市编码")
    @Excel(name="城市编码",width=15)
    private String cityCode;
    /**城市中心点(即:经纬度坐标)*/
    @ApiModelProperty(value = "城市中心点(即:经纬度坐标)")
    private String center;
    /**地区父节点*/
    @ApiModelProperty(value = "地区父节点")
    @Excel(name="地区父节点",width=15)
    private Integer parentId;

}