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

import com.red.circle.framework.core.dto.PageCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.util.Set;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author pengliang on 2023/11/3
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserAccountQryCmd extends PageCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 归属系统.
   */
  @NotBlank(message = "sysOrigin required.")
  private String sysOrigin;

  /**
   * 用户accounts集合.
   */
  @NotNull(message = "accounts required.")
  private Set<String> accounts;

}
