package com.ruoyi.ibs.grid.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author 吴凯程
 * @Date 2024/9/18
 **/
@Data
@ApiModel(value = "网格行政区划结构树", description = "")
@TableName("grid_region_address_tree")
public class RegionAddressTree implements Serializable {

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", name = "id")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 网格id
     */
    @ApiModelProperty(value = "网格id", notes = "")
    private Long gridId;

    /**
     * 行政编码
     */
    @ApiModelProperty(value = "行政编码", notes = "")
    private String code;

    /**
     * 父级行政编码
     */
    @ApiModelProperty(value = "父级行政编码", notes = "")
    private String parentCode;

    /**
     * 行政区划名称
     */
    @ApiModelProperty(value = "行政区划名称", notes = "")
    private String label;

    /**
     * 行政区划名称
     */
    @ApiModelProperty(value = "行政区划等级", notes = "")
    private Integer level;



}
