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

import com.red.circle.framework.dto.Command;
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/9/26
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class UserCheckSubscriptionCmd extends Command {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   */
  @NotNull(message = "userId required.")
  private Long userId;

  /**
   * 订阅用户集合.
   */
  @NotNull(message = "subscriptionUserIds required.")
  private Set<Long> subscriptionUserIds;

}
