package com.sckw.order.api.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;


@Data
@Schema(description = "商品实时销售数据")
public class TradeSaleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 7143305943655450894L;


    @Schema(description = "商品ID")
    private Long goodsId;

    @Schema(description = "金额")
    private BigDecimal amount;

    @Schema(description = "时间范围")
    private String timePeriod;
}
