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


import com.cf.imes.framework.common.pojo.PageParam;
import com.cf.imes.framework.common.validation.NumberValid;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;

/**
 * @author 分页
 */
@Schema(description = "未排单查询实际板材分页")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class GoodsPlateFilterPageReqVO extends PageParam {


    @Schema(description = "排单ID",requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "排单ID不能为空")
    private Long planId;


    @Schema(description = "厚度",requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "厚度不能为空")
    private BigDecimal thickness;


    @Schema(description = "材质",requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "材质不能为空")
    private String material;


    @Schema(description = "颜色",requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "颜色不能为空")
    private String color;


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

    @Schema(description = "大板的实际ID")
    private String goodsIds;


    @Schema(description = "商品名称")
    private String name;

    @Schema(description = "选择实际板材的颜色字段")
    private String filterColor;


    @Schema(description = "是否有纹路")
    private Boolean texture;


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


    @Schema(description = "长 小范围")
    @NumberValid(name = "长度")
    private BigDecimal longMinRang;


    @Schema(description = "长 大范围")
    @NumberValid(name = "长度")
    private BigDecimal longMaxRang;


    @Schema(description = "宽 小范围")
    @NumberValid(name = "宽度")
    private BigDecimal widthMinRang;


    @Schema(description = "宽 大范围")
    @NumberValid(name = "宽度")
    private BigDecimal widthMaxRang;


    @Schema(description = "备注")
    private String remark;

}
