package com.macro.mall.portal.domain;

import com.macro.mall.model.PmsProduct;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 秒杀信息和商品对象封装
 * Created by macro on 2019/1/28.
 */
@Getter
@Setter
public class FlashPromotionProduct extends PmsProduct{
    //秒杀价格
    private BigDecimal flashPromotionPrice;
    //用于秒杀到数量
    private Integer flashPromotionCount;
    //秒杀限购数量
    private Integer flashPromotionLimit;
}

@@ -72,16 +72,64 @@
 roduct;%0A
+import io.swagger.annotations.ApiModelProperty;%0A
 import l
@@ -142,16 +142,16 @@
 Getter;%0A
-
 import l
@@ -331,14 +331,33 @@
     
-//
+@ApiModelProperty(%22
 %E7%A7%92%E6%9D%80%E4%BB%B7%E6%A0%BC
+%22)
 %0A   
@@ -405,17 +405,36 @@
     
-//
+@ApiModelProperty(%22
 %E7%94%A8%E4%BA%8E%E7%A7%92%E6%9D%80%E5%88%B0%E6%95%B0%E9%87%8F
+%22)
 %0A   
@@ -479,16 +479,35 @@
     
-//
+@ApiModelProperty(%22
 %E7%A7%92%E6%9D%80%E9%99%90%E8%B4%AD%E6%95%B0%E9%87%8F
+%22)
 %0A   

Update FlashPromotionProduct.java