package com.cf.imes.module.executor.api.ordercomponent.dto;

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

import java.io.Serializable;
import java.util.List;

/**
 *
 *
 * @author Gqr
 * @since 2026/2/25 16:18
 */
@Schema(description = "RPC 服务 - 部件管理 - 订单部件列表查询 - Response DTO")
@Data
public class OrderComponentListRespDTO implements Serializable {
    private static final long serialVersionUID = -5691595836226548840L;

    @Schema(description = "父ID")
    private Long pid;

    @Schema(description = "部件Id")
    private Long id;

    @Schema(description = "部件名")
    private String name;

    private List<OrderComponentListRespDTO> children;
}
