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-18
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class PropsActivityRuleConfigParamCmd extends Command {

  private static final long serialVersionUID = 1L;

  private Long id;

  @NotNull(message = "请选择平台")
  private String sysOrigin;

  @NotBlank(message = "请选择活动类型")
  private String activityType;

  private Long resourceGroupId;

  @NotBlank(message = "规则不能为空")
  private String jsonData;

  private Integer sort;

  private String ruleDescription;

}
