package org.springblade.gateway.common_gateway.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: Silent
 * @Description
 * @Date: Created in 16:54 2021/11/9
 * @Modified By:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("活动设置")
public class ActiveSettingDto {
	@ApiModelProperty("默认的活动ID")
	@DecimalMin("0")
	private Long defaultActiveId;

	@ApiModelProperty("热力值/票")
	@DecimalMin("0")
	private BigDecimal voteAndHeatRate;

	@ApiModelProperty("普法积分值/票")
	@DecimalMin("0")
	private BigDecimal voteAndPointRate;

	@ApiModelProperty("排行显示总数")
	private Long rankTotal;

	@ApiModelProperty("助力说明")
	private List<String> helpExplainList;
}
