package com.tmerclub.cloud.api.order.vo;

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

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author gaozijie
 * @date 2023-10-09
 */
@Data
public class FlowOrderItemVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "商品id")
    private Long spuId;

    @Schema(description = "商品购买数量")
    private Integer count;

    @Schema(description = "支付金额")
    private Long amount;

    @Schema(description = "支付时间")
    private Date payTime;

    public FlowOrderItemVO() {
    }


    @Override
    public String toString() {
        return "FlowOrderItemVO{" +
                "spuId=" + spuId +
                ", count=" + count +
                ", payTime=" + payTime +
                '}';
    }
}
