package cn.iocoder.yudao.module.member.controller.app.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;

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 AppOrderPageReqVO extends PageParam {

    @Schema(description = "门店Id", example = "24217")
    private Long storeId;

    @Schema(description = "门店名", example = "赵六")
    private String storeName;

    @Schema(description = "订单状态", example = "1")
    private String orderStatus;

    @Schema(description = "用户ID", example = "1")
    private Long userId;

    @Schema(description = "总价")
    private BigDecimal totalMoney;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}