package com.red.circle.wallet.app.dto.clientobject;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.ClientObject;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户银行卡.
 *
 * @author pengliang on 2022/12/6
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserBankCardCO extends ClientObject {

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

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

  /**
   * 归属系统.
   */
  private String sysOrigin;

  /**
   * true正在使用.
   */
  private Boolean use;

  /**
   * 审核状态: 等待审核，已通过，不通过.
   */
  private String status;

  /**
   * 卡片类型.
   */
  private String cardType;

  /**
   * 收款人.
   */
  private String payee;

  /**
   * 卡号.
   */
  private String cardNo;

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

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


}
