package cn.iocoder.yudao.module.member.controller.admin.order.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author:qjq
 * @Date:2024/4/1 9:28
 */
@Schema(description = "管理后台 - 订单管理分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderDetailsReqVO extends PageParam {
    @Schema(description = "门店Id", example = "24217")
    private String storeId;
    @Schema(description = "开始时间", example = "2024-4-12 9:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;
    @Schema(description = "结束时间", example = "2024-4-12 18:00:00")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;
    @Schema(description = "订单号", example = "20240401085810236196705")
    private String orderId;
    @Schema(description = "用户名称", example = "张三")
    private String userName;
    @Schema(description = "用户账号", example = "13527409779")
    private String userAccount;
    @Schema(description = "卡号", example = "13527409779")
    private String userJob;
    @Schema(description = "最小金额", example = "0.00")
    private BigDecimal minAmount;
    @Schema(description = "最大金额", example = "999")
    private BigDecimal maxAmount;
    @Schema(description = "订单状态", example = "1")
    private String orderStatus;
    @Schema(description = "支付方式", example = "钱包")
    private String payMethods;
    @Schema(description = "时间段", example = "早餐")
    private String timePeriod;
    @Schema(description = "会员id", example = "早餐")
    private Long userId;
    @Schema(description = "分组Id", example = "1")
    private Long groupId;
}
