package com.cf.imes.module.plan.controller.admin.orderimport.webcad.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.Valid;
import java.util.List;

/**
 * @author Gqr
 * @since 2025/3/3 17:40
 */
@Schema(description = "管理后台 - webcad导入数据 - RequestVO")
@Data
public class WebCadDataReqVO {

    @JsonProperty(value = "OrderNo")
    private String orderNo;

    @JsonProperty(value = "CadViewFileId")
    private Long cadViewFileId;

    @JsonProperty(value = "Materials")
    private List<WebCadDataMaterialReqVO> Materials;

    @JsonProperty(value = "Parts")
    private List<WebCadDataDoubleRoomTreeReqVO> Parts;

    @JsonProperty(value = "ProcessGroup")
    @Valid
    private List<WebCadDataProcessGroupReqVO> ProcessGroup;

    @JsonProperty(value = "ComponentGroupTree")
    @Valid
    private List<WebCadDataComponentGroupReqVO> ComponentGroup;

    @Valid
    private List<WebCadDataDoubleRoomTreeReqVO> douleRoomTree;

    @JsonProperty(value = "Blocks")
    private List<WebCadDataDoubleRoomTreeReqVO> blocks;
}
