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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
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 CarteenMoneyPageReqVO extends PageParam {

    @Schema(description = "门店id", example = "927")
    private Long carteenId;

    @Schema(description = "门店名称", example = "王五")
    private String carteenName;

    @Schema(description = "成交金额")
    private BigDecimal successMoney;

    @Schema(description = "退款金额")
    private BigDecimal errorMoney;

    @Schema(description = "平台预留金额")
    private BigDecimal estimateMoney;

    @Schema(description = "总收入")
    private BigDecimal sumMoney;

    @Schema(description = "总成本")
    private BigDecimal totalCost;

    @Schema(description = "总利润")
    private BigDecimal totalProfit;

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

}