package com.ruoyi.base.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
public class BaseCategoryVO {
    String text;
    String value;
    List<BaseCategoryVO> children;

    public BaseCategoryVO(String value, String text) {
        this.text = text;
        this.value = value;
        this.children = new ArrayList<>();
    }
}
