package com.izouma.nineth.dto;

import com.izouma.nineth.domain.TokenHistory;
import com.izouma.nineth.domain.FileObject;
import com.izouma.nineth.enums.PayMethod;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class UserHistory extends TokenHistory {
    private String description;

    private String assetName;

    private List<FileObject> pic;

    @ApiModelProperty("价格")
    private BigDecimal price;

    @ApiModelProperty("gas费")
    private BigDecimal gasPrice;

    @ApiModelProperty("总价")
    private BigDecimal totalPrice;

    @ApiModelProperty("到账金额")
    private BigDecimal arrivalAmount;

    @ApiModelProperty("费率")
    private int royalties;

    @ApiModelProperty("支付方式")
    private PayMethod payMethod;

}
