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

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

/**
 * <p>
 * 幸运礼物 用户礼物ID与数量.
 * </p>
 *
 * @author pengshigang
 * @since 2022-5-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GameLuckyGiftCmd extends AppExtCommand {

  /**
   * 数量.
   */
  @NotNull(message = "quantity {not.null}")
  private Integer quantity;

  /**
   * gift Id
   */
  @NotNull(message = "giftId {not.null}")
  private Long giftId;

}
