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

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.cf.imes.framework.common.pojo.PageParam;
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 = "管理后台 - 生产单商品分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class GoodsPageReqVO extends PageParam {

    @Schema(description = "生产单号", example = "12114")
    private Long orderId;

    @Schema(description = "设计端商品ID", example = "832")
    private Long rawGoodsId;

    @Schema(description = "商品 ID", example = "243")
    private Long goodsId;

    @Schema(description = "商品名称", example = "晨丰")
    private String goodsName;

    @Schema(description = "材质：颗粒板、欧松板、多层板、生态板、禾香板、密度板、实木、铝蜂窝板、铝塑板")
    private String material;

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

    @Schema(description = "纹路")
    private Integer texture;

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

    @Schema(description = "高度")
    private BigDecimal height;

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

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

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

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

    @Schema(description = "备注", example = "你猜")
    private String remark;

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

}