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

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

/**
 * @author pengliang on 2020/6/1
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GiveAwayGiftCmd extends AppExtCommand {

  /**
   * 接收人
   */
  @NotNull(message = "acceptUserId required.")
  private Long acceptUserId;

  /**
   * 礼物编号
   */
  @NotNull(message = "giftId required.")
  private Long giftId;

}
