package cn.iocoder.yudao.module.member.controller.admin.storeorder.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.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商品订单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StoreOrderPageReqVO extends PageParam {

    @Schema(description = "读取卡号")
    private String cardNumber;

    @Schema(description = "人脸", example = "16087")
    private Integer openId;

    @Schema(description = "数量")
    private Integer number;

    @Schema(description = "设备ID")
    private String equipmentCode;

    @Schema(description = "离线缓存ID", example = "11946")
    private String uuid;

    @Schema(description = "总价钱", example = "1722")
    private Double totalPrice;

    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "订单状态 1-已支付，2-已完成，3-已取消，4-已退款")
    private Integer status;
    @Schema(description = "是否开票 0开票1未开票")
    private Boolean billingExist;
    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "用户IDs")
    private List<Long> userIds;

}