package com.repair.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * @Author: binguo
 * @Date: 2023/4/18 星期二 9:54
 * @Description: com.video.model.vo
 * @Version: 1.0
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Builder
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "区域", description = "")
public class RepairAreaTreeVo {
    @ApiModelProperty(value = "区域ID")
    private int id;
    @ApiModelProperty(value = "上级区域ID")
    private int parentId;
    @ApiModelProperty(value = "区域名称")
    private String name;
    @ApiModelProperty(value = "子级区域")
    private List<RepairAreaTreeVo> children;
}
