package com.cf.imes.module.executor.controller.admin.manage.pack.vo;


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

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 配件列表详情 Response VO")
@Data
public class OrderPartsRespVO {


    @Schema(description = "配件ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long partsId;

    @Schema(description = "配件名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String name;

    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String model;

    @Schema(description = "规格", requiredMode = Schema.RequiredMode.REQUIRED)
    private String spec;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal num;

    @Schema(description = "单位", requiredMode = Schema.RequiredMode.REQUIRED)
    private String unit;

    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED)
    private String brand;

    @Schema(description = "厂家", requiredMode = Schema.RequiredMode.REQUIRED)
    private String factory;


    @Schema(description = "配件类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String type;


    @Schema(description = "是否复合配件", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isComposite;


    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED)
    private String remark;


    @Schema(description = "配件颜色", requiredMode = Schema.RequiredMode.REQUIRED)
    private String partsColor;

    @Schema(description = "配件宽度", requiredMode = Schema.RequiredMode.REQUIRED)
    private Double partsWidth;

    @Schema(description = "配件长度", requiredMode = Schema.RequiredMode.REQUIRED)
    private Double partsLength;

    @Schema(description = "配件厚度", requiredMode = Schema.RequiredMode.REQUIRED)
    private Double partsThickness;

    @Schema(description = "配件主类：1封边2五金3组件", requiredMode = Schema.RequiredMode.REQUIRED)
    private String category;

    @Schema(description = "子配件ID列表,复合部件时记录子配件ID,半角逗号分隔", requiredMode = Schema.RequiredMode.REQUIRED)
    private String subparts;


    @Schema(description = "数量-用于计算，不显示")
    private List<BigDecimal> count;


    @Schema(description = "房间-用于计算-不显示")
    private List<Long> roomId;


    @Schema(description = "柜体-用于计算-不显示")
    private List<Long> bodyId;


    @Schema(description = "加工组-用于计算-不显示")
    private List<Long> groupId;



}
