package com.cyksj.model.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/*
 *项目名: netflix
 *文件名: CouponActiveReq
 *创建者: JavaZou
 *创建时间:2022/11/17 17:37
 */
@Getter
@Setter
public class CouponActiveReq {
	@NotNull(message = "优惠券id不能为空")
	@Min(value = 1)
	private Long couponId;

	@NotNull(message = "发放数量不能为空")
	@Min(value = 1)
	private Integer num;
}
