package com.red.circle.wallet.inner.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户银行卡提现申请.
 *
 * @author pengshigang on 2023/2/20
 */
@Data
@Accessors(chain = true)
public class UserBankWithdrawMoneyApplyDTO implements Serializable {

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

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

  /**
   * 银行卡id.
   */
  private Long bankCardId;


  /**
   * 银行卡类型.
   */
  private String bankCardType;

  /**
   * + 接收方式 com.sugartime.app.mongo.user.dto.WithdrawMethod;
   */
  private String acceptMethod;

  private String acceptMethodName;

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

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

  /**
   * 提交类型 MONEY(美金)、SALARY_DIAMOND(钻石).
   */
  private String amountType;

  /**
   * 提现手续费比例.
   */
  private Long serviceCharge;

  /**
   * 实际提现金额.
   */
  private BigDecimal actualAmount;

  /**
   * 审核流程.
   */
  private List<UserBankWithdrawMoneyApprovalProcessDTO> approvalProcesses;

  /**
   * WithdrawMoneyApprovalProcessStatus SUBMIT:提交状态,PASS:审核通过，NOT_PASS:审核不通过; 最新审核状态.
   */
  private String latestApprovalStatus;

  private String latestApprovalStatusName;

  /**
   * 结算结果;
   */

  private UserBankWithdrawMoneyResult settlementResult;

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

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

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

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

}
