
package com.czg.order.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;

/**
 *  实体类。
 *
 * @author zs
 * @since 2025-03-07
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
public class ShopOrderStatisticDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 销售额
     */
    private BigDecimal saleAmount;

    /**
     * 销售数量
     */
    private Long saleCount;

    /**
     * 优惠金额
     */
    private BigDecimal discountAmount;

    /**
     * 优惠笔数
     */
    private Long discountCount;

    /**
     * 退款金额
     */
    private BigDecimal refundAmount;

    /**
     * 退款笔数
     */
    private Long refundCount;

    /**
     * 微信支付笔数
     */
    private Long wechatPayCount;

    /**
     * 微信支付金额
     */
    private BigDecimal wechatPayAmount;

    /**
     * 支付宝支付笔数
     */
    private Long aliPayCount;

    /**
     * 支付宝支付金额
     */
    private BigDecimal aliPayAmount;

    /**
     * 挂账支付笔数
     */
    private Long creditPayCount;

    /**
     * 挂账支付金额
     */
    private BigDecimal creditPayAmount;

    /**
     * 会员支付笔数
     */
    private Long memberPayCount;

    /**
     * 会员支付金额
     */
    private BigDecimal memberPayAmount;

    /**
     * 主扫支付笔数
     */
    private Long scanPayCount;

    /**
     * 主扫支付金额
     */
    private BigDecimal scanPayAmount;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 创建时间
     */
    private Date createDay;

}
