package com.xinelu.manage.vo.labelfieldinfo;

import com.xinelu.manage.domain.labelfieldinfo.LabelFieldInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 标签字段信息对象 label_field_info
 *
 * @author zh
 * @date 2024-04-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class LabelFieldVO extends LabelFieldInfo {

    /**
     * 标签字段表
     */
    private Long LabelFieldId;

    /**
     * 树图名
     */
    private String label;

    /**
     * 树图编号
     */
    private Integer code;

    /**
     * 子集合
     */
    private List<LabelFieldVO> labelFieldList = new ArrayList<LabelFieldVO>();

    public List<LabelFieldVO> getChildren() {
        return labelFieldList;
    }

    public void setChildren(List<LabelFieldVO> children) {
        this.labelFieldList = children;
    }
}