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

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

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

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

/**
 * @author there
 */
@NoArgsConstructor
@Data
public class OrderPageReqVOCopy extends PageParam {

    @Schema(description = "生产单id")
    private Long orderId;
    @Schema(description = "商品id")
    private String goodsId;
    @Schema(description = "自定义id")
    private String defaultId;
    @Schema(description = "客户")
    private String consignee;
    @Schema(description = "地址")
    private String consigneeAddress;
    @Schema(description = "状态列表")
    private List<Integer> stateList;
    /*@Schema(description = "矩形")
    private Boolean rectangle;*/
    @Schema(description = "异形")
    private Boolean specialShaped;
    @Schema(description = "造型")
    private Boolean sculpt;
    @Schema(description = "有挖穿造型")
    private Boolean holeThrough;
    @Schema(description = "有挖穿孔")
    private Boolean burrow;
    @Schema(description = "有二维纹路")
    private Boolean twoDimensionalToolPath;
    @Schema(description = "门板")
    private Boolean isDoor;
    @Schema(description = "创建时间", example = "[2022-07-01 00:00:00,2022-07-01 23:59:59]")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;
    /*@Schema(description = "交付日期开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime beginDate;
    @Schema(description = "交付日期结束时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime endDate;*/
    @Schema(description = "长 小范围")
    private BigDecimal longMinRang;
    @Schema(description = "长 大范围")
    private BigDecimal longMaxRang;
    @Schema(description = "宽 小范围")
    private BigDecimal widthMinRang;
    @Schema(description = "宽 大范围")
    private BigDecimal widthMaxRang;

}
