package com.yami.shop.bean.app.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class RefundOrderItemDto {

    @ApiModelProperty("产品名称")
    private String prodName;

    @ApiModelProperty("sku名称")
    private String skuName;

    @ApiModelProperty("产品图片")
    @JsonSerialize(using = ImgJsonSerializer.class)
    private String pic;

    @ApiModelProperty("产品价格")
    private Double price;

    @ApiModelProperty("物品数量")
    private Integer prodCount;

    @ApiModelProperty("退款商品数量")
    private Integer productCount;

    @ApiModelProperty("产品总价格")
    private Double productTotalAmount;

    @ApiModelProperty("商品实际金额")
    private Double actualTotal;

    @ApiModelProperty("会员优惠分摊金额")
    private Double memberDiscountShareAmount = 0.0;
}
