package com.ylx.massage.domain.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class AreaTreeNode {
    private Long id;
    private String code;
    private String name;
    private String parentCode;
    private Integer level;

    // 子节点列表（递归核心）
    private List<AreaTreeNode> children;
}
