| 
					
				 | 
			
			
				@@ -18,6 +18,7 @@ import org.springframework.format.annotation.DateTimeFormat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.validation.constraints.NotBlank; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.validation.constraints.NotNull; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.validation.constraints.Positive; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import javax.validation.constraints.PositiveOrZero; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -56,7 +57,7 @@ public class ActivityReward implements Serializable { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @ApiModelProperty("库存数 ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @TableField(value = "stock_") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @NotNull(message = "库存数不能为空") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Positive(message = "库存数必须大于0") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @PositiveOrZero(message = "库存数必须大于等于0") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private Integer stock; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @ApiModelProperty("数量(每个奖品) ") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @TableField(value = "num_") 
			 |