package com.cpop.pay.framewok.core.dto.easyLearn;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

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

/**
 * @author DB
 * @since  2023/10/27 15:36
 * 微信支付商品详情dto
 */
@Data
public class WxPayGoodsDetailDto implements Serializable {

    /**
     * 商品编码
     */
    @JSONField(name = "goods_id")
    private String productRecordId;

    /**
     * 商品单价
     */
    @JSONField(name = "price")
    private BigDecimal amount;

    /**
     * 商品数量
     */
    @JSONField(name = "quantity")
    private Integer number;

}
