package com.red.circle.wallet.infra.database.mongo.dto.query;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户银行卡账户查看 .
 *
 * @author pengshigang on 2023/2/16
 */
@Data
@Accessors(chain = true)
public class UserBankBalanceQuery implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 系统来源.
   */
  private String sysOrigin;

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

  /**
   * 最后一条记录id.
   */
  private Long lastId;

  /**
   * 每页大小.
   */
  private Integer limit;
}
