package com.aiotagro.cattletrade.business.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 销售概览视图对象
 *
 * @author System
 * @date 2025-01-20
 */
@Data
public class SalesOverviewVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Integer id;

    /**
     * 采购总额(元)
     */
    private BigDecimal toalProcurementAmount;

    /**
     * 销售总额(元)
     */
    private BigDecimal toalSalesAmount;

    /**
     * 利润(元)
     */
    private BigDecimal profits;

    /**
     * 应收货款(元)
     */
    private BigDecimal accountsReceivable;

    /**
     * 未收货款(元)
     */
    private BigDecimal uncollectedPayment;

    /**
     * 实收货款(元)
     */
    private BigDecimal actualPayment;

    /**
     * 采购数量(头)
     */
    private Integer totalPurchase;

    /**
     * 采购单数(车)
     */
    private Integer totalOrder;

    /**
     * 销售单数(单)
     */
    private Integer totalSales;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date upTime;
}

