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

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

import java.math.BigDecimal;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "优化后的余料板数据")
public class OptimizeRemainPlate {


    @Schema(description = "余料板ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;


    @Schema(description = "源排单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long initPlanId;


    @Schema(description = "排单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long planId;



    @Schema(description = "状态(未使用 = 0, 已使用 = 1)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer status;



    @Schema(description = "商品ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long goodsId;



    @Schema(description = "商品名", requiredMode = Schema.RequiredMode.REQUIRED)
    private String goodsName;


    @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 BigDecimal width;



    @Schema(description = "长", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal length;


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



    @Schema(description = "排单号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String planCode;



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



    @Schema(description = "厚度", requiredMode = Schema.RequiredMode.REQUIRED)
    private BigDecimal thickness;



    @Schema(description = "轮廓", requiredMode = Schema.RequiredMode.REQUIRED)
    private String outLineJson;



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


    @Schema(description = "排版样式", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer placeStyle;




}
