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

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

import java.time.LocalDate;

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

/**
 * 贴皮管理订单分页查询请求参数。
 */
@Data
public class VeneerManageOrderPageReqVO extends PageParam {

    @Schema(description = "订单号")
    private String orderId;

    @Schema(description = "自定义单号")
    private String customOrderNo;

    @Schema(description = "订单类型")
    private Integer orderType;

    @Schema(description = "客户")
    private String customer;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "订单日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] orderDate;
}
