package com.red.circle.console.app.dto.cmd.app.activity.invite;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 邀请活动发放道具命令.
 */
@Data
@Accessors(chain = true)
public class InviteCampaignGrantPropsCmd implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  @NotNull(message = "trackId required.")
  private Long trackId;

  @NotNull(message = "acceptUserId required.")
  private Long acceptUserId;

  @NotBlank(message = "sysOrigin required.")
  private String sysOrigin;

  @NotBlank(message = "origin required.")
  private String origin;

  @NotNull(message = "sourceGroupId required.")
  private Long sourceGroupId;
}
