package com.sckw.order.model.vo.res;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @desc: 工作台贸易订单数据统计响应vo
 * @author: yzc
 * @date: 2023-09-11 14:58
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class WbTOrderDataStsResVO implements Serializable {
    @Serial
    private static final long serialVersionUID = -8601548022756611241L;

    public WbTOrderDataStsResVO() {
        this.tOrderDataStsList = new ArrayList<>();
        this.goodsNumRingRate = BigDecimal.ZERO;
        this.orderAmountRingRate = BigDecimal.ZERO;
        this.orderPriceRingRate = BigDecimal.ZERO;
        this.waitCollectedPriceRingRate = BigDecimal.ZERO;
        this.notArrivedAmountRingRate = BigDecimal.ZERO;
    }

    /**
     * 贸易订单数据统计列表
     */
   private List<TOrderDataStsResVO> tOrderDataStsList;

    /**
     * 商品数量环比
     */
    private BigDecimal goodsNumRingRate;
    /**
     * 商品数量环比标识 true上升，false下降
     */
    private Boolean goodsNumFlag;

    /**
     * 订单总量环比
     */
    private BigDecimal orderAmountRingRate;
    /**
     * 订单总量环比标识 true上升，false下降
     */
    private Boolean orderAmountFlag;;

    /**
     * 订单金额环比
     */
    private BigDecimal orderPriceRingRate;
    /**
     *  订单金额环比标识  true上升，false下降
     */
    private Boolean orderPriceFlag;

    /**
     * 待付款金额环比
     */
    private BigDecimal waitCollectedPriceRingRate;
    /**
     * 待付款金额环比标识  true上升，false下降
     */
    private Boolean waitCollectedPriceFlag;

    /**
     * 未到货量环比
     */
    private BigDecimal notArrivedAmountRingRate;
    /**
     * 未到货量环比标识  true上升，false下降
     */
    private Boolean notArrivedAmountFlag;

}
