package com.cf.imes.module.executor.controller.admin.rawgoods.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 = "管理后台 - 生产单设计商品表 order_raw_goods_{N}分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RawGoodsPageReqVO extends PageParam {

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

    @Schema(description = "设计端商品编码", example = "28930")
    private String rawGoodsId;

    @Schema(description = "设计端商品名称", example = "赵六")
    private String goodsName;

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

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

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

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

    @Schema(description = "价格", example = "3872")
    private Double price;

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

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

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

}