/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 */

package com.yami.shop.bean.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yami.shop.bean.model.OrderRefundRecord;
import com.yami.shop.bean.model.RefundAppointment;
import com.yami.shop.bean.model.RefundDelivery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Digits;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/***
 * 订单统计信息
 */
@Data
public class OrderCountVo implements Serializable{

    @ApiModelProperty(value = "订单总数")
    private long orderTotal =0L;

    @ApiModelProperty(value = "订单总金额")
    @Digits(integer = 10, fraction = 2, message = "运费总金额最多保留2位小数")
    private BigDecimal orderMoneyTotal= BigDecimal.ZERO;

    @ApiModelProperty(value = "商品总金额")
    @Digits(integer = 10, fraction = 2, message = "运费总金额最多保留2位小数")
    private BigDecimal shopMoneyTotal= BigDecimal.ZERO;

    /**
     * 运费总金额
     */
    @ApiModelProperty(value = "运费总金额")
    @Digits(integer = 10, fraction = 2, message = "运费总金额最多保留2位小数")
    private BigDecimal carriageMoneyTotal= BigDecimal.ZERO;
    /**
     * 支付总金额
     */
    @ApiModelProperty(value = "支付总金额")
    @Digits(integer = 10, fraction = 2, message = "运费总金额最多保留2位小数")
    private BigDecimal payMoneyTotal= BigDecimal.ZERO;

    /**
     * 积分总金额
     */
    @ApiModelProperty(value = "积分总金额")
    @Digits(integer = 10, fraction = 2, message = "运费总金额最多保留2位小数")
    private BigDecimal pointsMoneyTotal= BigDecimal.ZERO;

    /**
     * 现金总金额
     */
    @ApiModelProperty(value = "现金总金额")
    @Digits(integer = 10, fraction = 2, message = "运费总金额最多保留2位小数")
    private BigDecimal moneyTotal= BigDecimal.ZERO;

    /**
     * 客单价
     */
    @ApiModelProperty(value = "客单价")
    @Digits(integer = 10, fraction = 2, message = "运费总金额最多保留2位小数")
    private BigDecimal averageOrderValueMoney = BigDecimal.ZERO;


}
