package com.red.circle.other.app.dto.cmd.activity;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import com.red.circle.common.business.enums.WeekLeaderboardEnum;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 周星排行榜数据查询 命令.
 *
 * @author pengliang on 2021/8/15
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WeekStarRankingQueryCmd extends AppExtCommand {

  /**
   * 礼物id.
   */
  private Long giftId;

  /**
   * 类型.
   */
  @NotNull(message = "type {not.null}")
  private WeekLeaderboardEnum type;

  private Integer current = 1;

  private Integer size = 20;

}
