package com.tykj.dev.device.packing.subject.vo;

import com.tykj.dev.device.packing.subject.domin.PackingLibrary;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author dengdiyi
 */
@Data
@ApiModel("列装结果返回类")
public class PackingLibrarySelectResultVo {


    private Integer NodeId;

    private Integer ParentId;


    @ApiModelProperty(value = "列装装备",example = "")
    private PackingLibrary packingLibraryEntity;

    @ApiModelProperty(value = "列装装备配件",example = "")
    private List<PackingLibrary> list;

    public void addChildNode(PackingLibrary packingLibraryEntity) {
        list.add(packingLibraryEntity);
    }

}
