package com.yeejoin.equipmanage.common.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yeejoin.equipmanage.common.entity.EquipmentCategory;
import lombok.Data;

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

/**
 * @author keyong
 * @title: IndustryVo
 * <pre>
 * @description: 行业树
 * </pre>
 * @date 2021/1/19 18:19
 */
@Data
public class IndustryVo {

    private Long id;

    // 行业名
    private String name;

    // 行业编码
    private String industryCode;

    // 是否存在下级
    private boolean hasLowerClassification;

    // 子集
    private List<EquipmentCategory> children = new ArrayList<>();
}
