package com.yiboshi.science.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

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

/**
 * class: $
 * create by: $
 * description:
 * create time: $
 *
 * @param: $
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class SelectListItem implements Serializable {

    public SelectListItem(String a, String b, String d, boolean s, boolean e, List<SelectListItem> ar) {
        title = a;
        label = a;
        key = b;
        value = b;
        description = d;
        selected = s;
        disabled = e;
        children = ar;
    }

    private String title;
    private String key;
    private String label;
    private String value;
    private String description;
    private boolean selected;
    private boolean disabled;
    private List<SelectListItem> children;

}
