package com.red.circle.other.inner.model.cmd.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * @author pengliang on 2022/2/16
 */
@Data
public class UserSpecialIdQryCmd implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

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

  /**
   * 靓号码.
   */
  @NotNull
  String account;

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