package com.cf.imes.module.executor.controller.admin.plate.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 *
 *
 * @author Gqr
 * @since 2025/12/23 13:40
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "管理后台 - 配件视图信息")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrderViewPartPageRespVO {
    @Schema(description = "配件编号")
    private Long id;

    @Schema(description = "配件类型")
    private String type;

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

    @Schema(description = "颜色")
    private String color;

    @Schema(description = "材质")
    private String material;

    @Schema(description = "型号")
    private String model;

    @Schema(description = "规格")
    private String spec;

    @Schema(description = "数量")
    private BigDecimal num;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "品牌")
    private String brand;

    @Schema(description = "厂家")
    private String factory;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "宽")
    private Double width;

    @Schema(description = "长")
    private Double length;

    @Schema(description = "厚")
    private Double thickness;

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

    @Schema(description = "板件CAD图纸ID")
    private Integer cadViewId;

    @Schema(description = "CAD图纸文件ID")
    private Long cadViewFileId;

    @Schema(description = "房间名称")
    private String roomName;

    @Schema(description = "柜体名称")
    private String bodyName;

    @Schema(description = "柜体id")
    private Long bodyId;

    @Schema(description = "加工组名称")
    private String processGroupName;

    @Schema(description = "部件名称")
    private String componentName;
}
