package cn.iocoder.yudao.module.member.controller.admin.business.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 BusinessPageReqVO extends PageParam {

    @Schema(description = "门店名")
    private  String storeName;

    @Schema(description = "营业额")
    private BigDecimal turnover;

    @Schema(description = "订单数")
    private Integer orderSum;

    @Schema(description = "顾客数")
    private Integer customerSum;

    @Schema(description = "均单价")
    private BigDecimal priceAvg;

    @Schema(description = "充值钱包")
    private BigDecimal rechargePurse;

    @Schema(description = "补贴钱包")
    private BigDecimal subsidyPurse;

    @Schema(description = "VIP免单")
    private Integer gratis;

    @Schema(description = "早餐")
    private BigDecimal breakfast;

    @Schema(description = "午餐")
    private BigDecimal lunch;

    @Schema(description = "晚餐")
    private BigDecimal dinner;

    @Schema(description = "智能称重")
    private BigDecimal weigh;

    @Schema(description = "日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private  Long carteenId;
}