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

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户银行卡账户查看 .
 *
 * @author pengshigang on 2023/2/16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class UserBankBalanceQryCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

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

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

  /**
   * 页码.
   */
  private Integer pageNo;

  /**
   * 排序字段.
   */
  private String sortField;

  /**
   * 排序方向.
   */
  private String sortOrder;
}
