package com.red.circle.console.app.dto.clienobject.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户银行卡提现金币申请记录.
 *
 * @author pengshigang on 2023/2/20
 */

@Data
@Accessors(chain = true)
public class UserBankWithdrawGoldApplyCO implements Serializable {

  /**
   * 记录id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 归属平台.
   */
  private String sysOrigin;

  /**
   * + GoldWithdrawAcceptAccount 接收方式.
   */
  private String acceptAccount;

  private String acceptAccountName;

  /**
   * 接收用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long acceptUserId;

  private UserProfileDTO acceptUser;

  /**
   * 提交用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long submitUserId;

  private UserProfileDTO submitUser;

  /**
   * 提交金额.
   */
  private BigDecimal amount;

  /**
   * 获得金币.
   */
  private String goldQuantity;

  /**
   * 兑换比率.
   */
  private String exchangeRate;

  /**
   * 创建时间.
   */
  private Timestamp createTime;

  /**
   * 修改时间.
   */
  private Timestamp updateTime;

  /**
   * 创建用户.
   */
  private Long createUser;

  /**
   * 修改用户.
   */
  private Long updateUser;

  /**
   * 创建用户来源：0 app、1 后台.
   */
  private Integer createUserOrigin;

  /**
   * 创建用户来源：0 app、1 后台.
   */
  private Integer updateUserOrigin;

}
