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.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 OrderPageReqVO  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 = "开始时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date beginDate;
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date endDate;
    @Schema(description = "长 小范围")
    private BigDecimal longMinRang;
    @Schema(description = "长 大范围")
    private BigDecimal longMaxRang;
    @Schema(description = "宽 小范围")
    private BigDecimal widthMinRang;
    @Schema(description = "宽 大范围")
    private BigDecimal widthMaxRang;

}
