package com.ai.da.model.vo;

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

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;

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