package com.red.circle.other.inner.model.cmd.material;

import com.red.circle.framework.dto.Command;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 活动道具奖励配置.
 * </p>
 *
 * @author pengshigang
 * @since 2021-06-07
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PropsActivityRewardConfigParamCmd extends Command {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  private Long id;

  /**
   * 类型.
   */
  @NotBlank(message = "类型不能为空")
  private String type;

  /**
   * 明细类型.
   */
  @NotBlank(message = "详细类型不可为空")
  private String detailType;

  /**
   * 内容.
   */
  @NotBlank(message = "内容不能为空")
  private String content;

  /**
   * 奖励天数.
   */
  @NotNull(message = "奖励天数不能为空")
  private Integer quantity;


  private Integer sort;

  private String remark;

}
