| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | |
| | | * 地域名 |
| | | */ |
| | | @TableField("region_name") |
| | | @ApiModelProperty(value = "地域名") |
| | | private String regionName; |
| | | |
| | | /** |
| | | * 默认0 |
| | | */ |
| | | @TableField("parent_id") |
| | | @ApiModelProperty(value = "默认0") |
| | | private Long parentId; |
| | | |
| | | @TableField("region_code") |
| | | @ApiModelProperty(value = "地域编码") |
| | | private String regionCode; |
| | | |
| | | /** |
| | | * 类型1-街道2-社区3-乡4-镇 |
| | | */ |
| | | @TableField("type") |
| | | @ApiModelProperty(value = "类型0-市1-县2-街道3-社区4-乡5-镇") |
| | | private Integer type; |
| | | |
| | | @TableField(exist = false) |
| | | private List<SccgRegion> children; |
| | | } |