package com.fuint.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * 地区实体类
 *
 * Created by FSQ
 * CopyRight https://www.fuint.cn
 */
@Getter
@Setter
public class RegionDto implements Serializable {

    @ApiModelProperty("自增ID")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("父ID")
    private Integer pid;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("层级")
    private String level;

    @ApiModelProperty("城市")
    private List<RegionDto> city;

    @ApiModelProperty("区域")
    private List<RegionDto> region;

}
