package com.sqx.modules.activity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 全场优惠
 *
 * @author : codingliang
 * @date : 2024-06-17 16:45
 */
@ApiModel(value = "全场优惠信息")
@Data
public class ActivityOfGlobalDiscountDTO implements Serializable {

    @ApiModelProperty(value = "折扣比例，取值(0,10)", required = true)
    @NotNull(message = "折扣比例不能为空")
    private Double discountRate;
}
