package com.yami.shop.bean.param;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@Accessors(chain = true)
public class StatisticsRefundParam {

    /**
     * 退款金额
     */
    private double payActualTotal;

    /**
     * 退款成功订单数
     */
    private int refundCount;

    /**
     * 退款原因
     */
    private String buyerReason;

    /**
     * 退款商品名称
     */
    private String refundPordName;

    /**
     * 较前一日金额的比率
     */
    private Double yesterdayAmountRate;

    /**
     * 较七天前金额的比率
     */
    private Double sevenDayAmountRate;

    /**
     * 退款率
     */
    private Double refundRate;

    /**
     * 较前一日退款率的比率
     */
    private Double yesterdayRefundRate;

    /**
     * 较七天前退款率的比率
     */
    private Double sevenDayRefundRate;

    /**
     * 退款日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date refundDate;

    /**
     * 退款日期
     */
    private String refundDateToString;


}
