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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cf.imes.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.cf.imes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 生产单余料板表 order_remain_plate_{N}分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RemainPlatePageReqVO extends PageParam {

    @Schema(description = "排单 ID", example = "14125")
    private Long planId;

    @Schema(description = "初始排单 ID", example = "28810")
    private Long initPlanId;

    @Schema(description = "余料板状态，0未使用，1使用中，2已使用", example = "1")
    private Integer status;

    @Schema(description = "商品 ID", example = "16139")
    private String goodsId;

    @Schema(description = "商品名", example = "王五")
    private String name;

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

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

    @Schema(description = "宽度")
    private BigDecimal width;

    @Schema(description = "长度")
    private BigDecimal length;

    @Schema(description = "厚度")
    private BigDecimal thickness;

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

    @Schema(description = "放置样式，0正面，1正面右转，2正面后转，3正面左转，4反面，5反面右转，6反面后转，7反面左转")
    private Integer placeStyle;

    @Schema(description = "仓库名")
    private String store;

    @Schema(description = "数量", example = "5334")
    private Integer count;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "轮廊数据，Json 串")
    private String outline;

    @Schema(description = "创建日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}