package com.cmvr.ti.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("车辆配置树形VO")
public class TiVehicleConfigTreeVO {

    @ApiModelProperty("节点ID（对应车辆配置ID）")
    private Long id;

    @ApiModelProperty("父节点ID（0表示根节点）")
    private Long parentId;

    @ApiModelProperty("节点名称")
    private String label;

    @ApiModelProperty("节点类型（oem / model / version）")
    private String type;

    @ApiModelProperty("描述")
    private String remark;

    @ApiModelProperty("子节点")
    private List<TiVehicleConfigTreeVO> children;
}
