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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 生产单余料板表 order_remain_plate_{N}新增/修改 Request VO")
@Data
public class RemainPlateSaveReqVO {

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

    @Schema(description = "排单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14125")
    @NotNull(message = "排单 ID不能为空")
    private Long planId;

    @Schema(description = "初始排单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "28810")
    @NotNull(message = "初始排单 ID不能为空")
    private Long initPlanId;

    @Schema(description = "余料板状态，0未使用，1使用中，2已使用", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "余料板状态，0未使用，1使用中，2已使用不能为空")
    private Integer status;

    @Schema(description = "商品 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16139")
    @NotEmpty(message = "商品 ID不能为空")
    private String goodsId;

    @Schema(description = "商品名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @NotEmpty(message = "商品名不能为空")
    private String name;

    @Schema(description = "材料", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "材料不能为空")
    private String material;

    @Schema(description = "颜色", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "颜色不能为空")
    private String color;

    @Schema(description = "宽度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "宽度不能为空")
    private BigDecimal width;

    @Schema(description = "长度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "长度不能为空")
    private BigDecimal length;

    @Schema(description = "厚度", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "厚度不能为空")
    private BigDecimal thickness;

    @Schema(description = "品牌", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "品牌不能为空")
    private String brand;

    @Schema(description = "放置样式，0正面，1正面右转，2正面后转，3正面左转，4反面，5反面右转，6反面后转，7反面左转", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "放置样式，0正面，1正面右转，2正面后转，3正面左转，4反面，5反面右转，6反面后转，7反面左转不能为空")
    private Integer placeStyle;

    @Schema(description = "仓库名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "仓库名不能为空")
    private String store;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "5334")
    @NotNull(message = "数量不能为空")
    private Integer count;

    @Schema(description = "备注", requiredMode = Schema.RequiredMode.REQUIRED, example = "随便")
    @NotEmpty(message = "备注不能为空")
    private String remark;

    @Schema(description = "轮廊数据，Json 串", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "轮廊数据，Json 串不能为空")
    private String outline;

}