package com.seer.teach.pay.admin.recharge.controller.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Getter
@Setter
public class CoinRechargeResp {

    private Integer id;

    @Schema(description = "用户id")
    private Integer userId;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "用户手机号")
    private String mobile;

    @Schema(description = "用户微信openId")
    private String openId;

    @Schema(description = "用户微信unionId")
    private String unionId;

    @Schema(description = "用户微信昵称")
    private String nickName;

    @Schema(description = "用户微信头像")
    private String avatar;

    @Schema(description = "兑换比例配置id")
    private int coinConfigId;

    @Schema(description = "微信回调成功支付时间")
    private LocalDateTime paySuccessTime;

    @Schema(description = "微信交易id")
    private String transactionId;

    @Schema(description = "充值金额")
    private BigDecimal rechargeAmount;

    @Schema(description = "充值订单号")
    private String rechargeSn;

    @Schema(description = "充值时间")
    private LocalDateTime rechargeTime;

    @Schema(description = "充值状态，0:待支付, 1: 支付成功")
    private Integer payStatus;

}