
package com.czg.order.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author zs
 * @since 2025-03-07
 */
@Data

@NoArgsConstructor
@AllArgsConstructor
public class ShopProdStatisticDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 商品id
     */
    private Long prodId;

    /**
     * 销售数量
     */
    private Long saleNum;

    /**
     * 销售金额
     */
    private BigDecimal saleAmount;

    /**
     * 退单量
     */
    private Long refundNum;

    /**
     * 退单金额
     */
    private BigDecimal refundAmount;

    /**
     * 店铺id
     */
    private Long shopId;

    /**
     * 创建时间
     */
    private Date createDay;

}
