package com.ai.da.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
@ApiModel("交易记录详情")
public class PaymentInfoVO {
    private Long id;
    @ApiModelProperty("付款用户名")
    private String payer;
    @ApiModelProperty("付款者邮箱")
    private String email;
    @ApiModelProperty("选择的支付平台 PayPal || Stripe || Alipay-HK")
    private String platform;
    @ApiModelProperty("支付的金额 单位:HKD")
    private String payerTotal;
    @ApiModelProperty("商品种类 new || renewal || credits")
    private String type;
    @ApiModelProperty("交易状态 Success || Fail || Pending")
    private String status;
    @ApiModelProperty("付款人所在国家")
    private String country;
    @ApiModelProperty("付款人所在城市")
    private String  city;
    @ApiModelProperty("使用Stripe具体的支付方式")
    private String paymentMethod;
    @ApiModelProperty("信用卡支付的卡号后四位")
    private String last4;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private String createTime;
}
