package com.mmc.pms.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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

/**
 * @Author small
 * @Date 2023/5/15 14:34
 * @Version 1.0
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DistrictInfoDTO implements Serializable {
    private static final long serialVersionUID = 8352745384449903203L;
    @ApiModelProperty(value = "地区id")
    private Integer id;
    @ApiModelProperty(value = "地区名称")
    private String name;
    @ApiModelProperty(value = "地区等级")
    private Integer level;
    @ApiModelProperty(value = "父id")
    private Integer pid;
    @ApiModelProperty(value = "地区下一级信息")
    private List<DistrictInfoDTO> childInfo;
}
