package com.snack.server.module.order.dto.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 订单分页查询
 */
@Data
@Schema(description = "订单分页查询")
public class OrderPageReq implements Serializable {

    @Schema(description = "页码", example = "1")
    private Long current = 1L;

    @Schema(description = "每页条数", example = "10")
    private Long size = 10L;

    @Schema(description = "订单状态（用户端 0/1/2/3/4）")
    private Integer status;

    @Schema(description = "订单号关键字（管理端用）")
    private String keyword;

    @Schema(description = "用户名关键字（管理端用）")
    private String username;
}
