chenhj
2 天以前 a770364a2323290fdf9e3247b47475a12452f401
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.ruoyi.basic.entity.dto;
 
import lombok.Data;
 
import java.util.List;
 
/**
 * 树选项通用返回结构体
 */
@Data
public class TreeSelectOption {
    private String value;
    private String label;
    private Long id;
    private List<TreeSelectOption> children;
 
    public TreeSelectOption(String value, String label, Long id, List<TreeSelectOption> children) {
        this.value = value;
        this.label = label;
        this.id = id;
        this.children = children;
    }
 
    public TreeSelectOption() {}
}