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;

/**
 * @desc: 贸易订单统计数据响应对象
 * @author: yzc
 * @date: 2023-09-11 14:58
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class TOrderDataStsResVO implements Serializable {

    public TOrderDataStsResVO() {
        this.goodsNum = 0L;
        this.orderAmount = BigDecimal.ZERO;
        this.orderPrice = BigDecimal.ZERO;
        this.waitCollectedPrice = BigDecimal.ZERO;
        this.notArrivedAmount = BigDecimal.ZERO;
    }


    @Serial
    private static final long serialVersionUID = -6132733716009809627L;

    /**
     * 1当前周、月；2上周、月
     */
    private Integer type;
    /**
     * 商品数量
     */
    private Long goodsNum;

    /**
     * 订单总量
     */
    private BigDecimal orderAmount;

    /**
     * 订单金额
     */
    private BigDecimal orderPrice;

    /**
     * 待付款金额
     */
    private BigDecimal waitCollectedPrice;

    /**
     * 未到货量
     */
    private BigDecimal notArrivedAmount;



}
