package com.zt.plat.module.base.controller.admin.processinginfomation.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

@Schema(description = "管理后台 - 工艺信息树节点 Response VO")
@Data
public class ProcessingInfomationTreeRespVO {

    @Schema(description = "主键ID", example = "1001")
    private Long id;

    @Schema(description = "父级ID", example = "0")
    private Long parentId;

    @Schema(description = "工艺编码", example = "PRC-001")
    private String code;

    @Schema(description = "工艺名称", example = "熔铸")
    private String name;

    @Schema(description = "工艺类型值")
    private String typeValue;

    @Schema(description = "状态值-工艺状态")
    private String statusValue;

    @Schema(description = "子节点")
    private List<ProcessingInfomationTreeRespVO> children = new ArrayList<>();

}
