package com.cf.imes.module.executor.controller.admin.plan.saveOptimize;


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

import java.math.BigDecimal;

@Data
@Schema(description = "优化生产使用的余料板的信息")
public class RemainBoardList {



    @Schema(description = "前端生成的ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String id;



    @Schema(description = "余料板材质", requiredMode = Schema.RequiredMode.REQUIRED)
    private String material;



    @Schema(description = "余料板颜色", requiredMode = Schema.RequiredMode.REQUIRED)
    private String color;



    @Schema(description = "余料板宽", requiredMode = Schema.RequiredMode.REQUIRED)
    private Double width;



    @Schema(description = "余料板长", requiredMode = Schema.RequiredMode.REQUIRED)
    private Double length;



    @Schema(description = "余料板厚度", requiredMode = Schema.RequiredMode.REQUIRED)
    private Double thickness;


    @Schema(description = "余料板数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer count;



    @Schema(description = "纹路 纹路(0正纹1可翻转2反纹)")
    private Boolean texture;



    @Schema(description = "是否手动添加余料", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isHandAdd;


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


    @Schema(description = "仓库", requiredMode = Schema.RequiredMode.REQUIRED)
    private String store;


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






    @Schema(description = "余料板ID")
    private Long remainId;


    @Schema(description = "商品 ID-大板的实际ID")
    private String goodsId;


    @Schema(description = "商品名称")
    private String goodsName;




    @Schema(description = "价格")
    private BigDecimal price;



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





    private Boolean isRealCuttingBoard;



    private String cutKnifeName;



    private String placeBoardJSON;



    private Integer usedCount;


    private BigDecimal avgUsageRateAll;


    private BigDecimal avgUsageRateExcludeLastBoard;


    private BigDecimal usageRateLastBoard;








}
