package com.erp.order.dto.request;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDate;

@Data
public class OrderQueryRequest {

    private String platform;
    private Long shopId;
    private String orderStatus;
    private String auditStatus;
    private String deliveryStatus;
    private String keyword;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    /** date_range format: "2024-01-01,2024-01-31" */
    private String dateRange;

    private Integer page = 1;
    private Integer limit = 10;
}
