package com.cf.imes.module.manage.controller.admin.plate.vo.remain;

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

import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 生产单余料板表 order_remain_plate_{N} Response VO")
@Data
@ExcelIgnoreUnannotated
public class RemainPlateRespVO {

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

    @Schema(description = "组织id", example = "1")
    @ExcelIgnore
    private Long organId;

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

    @Schema(description = "初始排单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6628")
    @ExcelProperty("初始排单 ID")
    private Long initPlanId;

    @Schema(description = "余料板状态，0未使用，1使用中", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("余料板状态，0未使用，1使用中")
    private Integer status;

    @Schema(description = "是否为开料添加，0否，1是", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("是否为开料添加，0否，1是")
    private Boolean isCutting;

    @Schema(description = "使用类型，0核销，1排单，2补板", example = "0")
    @ExcelProperty("使用类型，0核销，1排单，2补板")
    private Integer useType;

    @Schema(description = "商品 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7425")
    @ExcelProperty("商品 ID")
    private String goodsId;

    @Schema(description = "商品名", requiredMode = Schema.RequiredMode.REQUIRED, example = "晨丰")
    @ExcelProperty("商品名")
    private String name;

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

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

    @Schema(description = "宽度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("宽度")
    private BigDecimal width;

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

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

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

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

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

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

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

    @Schema(description = "轮廊数据，Json 串", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("轮廊数据，Json 串")
    private String outLineJson;

    @Schema(description = "创建日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建日期")
    private LocalDateTime createTime;

}