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

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 ResidentRegisterRewardConfigSaveCmd implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

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

  @NotNull(message = "enabled required.")
  private Boolean enabled;

  private Long goldAmount;

  private Long rewardGroupId;

  /**
   * 每日奖励份数上限，0 表示不限。
   */
  private Long dailyLimit;
}
