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

import lombok.*;
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 = "生产单号")
    private Long orderId;

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

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

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

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

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

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

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

    @Schema(description = "价格", example = "21231")
    private Double 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;

}