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

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;

import io.swagger.v3.oas.annotations.media.Schema;
import com.cf.imes.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import java.time.LocalDateTime;

import static com.cf.imes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 板材信息表 plate_{N}分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PlatePageReqVO extends PageParam {

    @Schema(description = "客户的商品编号", example = "1")
    private String goodsId;

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

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

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

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

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

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

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

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

    private Long organId;
}