| package cc.mrbird.febs.mall.entity; | 
|   | 
| import cc.mrbird.febs.common.entity.BaseEntity; | 
| import com.baomidou.mybatisplus.annotation.TableName; | 
| import lombok.Data; | 
|   | 
| import java.math.BigDecimal; | 
| import java.util.Date; | 
|   | 
| @Data | 
| @TableName("mall_goods_coupon") | 
| public class MallGoodsCoupon extends BaseEntity { | 
|   | 
|     private String name; | 
|     //过期天数 | 
|     private Integer expireDay; | 
|     //类型 1:满100只减10 2:每满100减10 | 
|     private Integer type; | 
|     public static final Integer TYPE_ONE = 1; | 
|     public static final Integer TYPE_TWO = 2; | 
|     //1:未生效 2:生效中 | 
|     private Integer state; | 
|     //满1000减100,满0减50; | 
|     //满足金额 | 
|     private BigDecimal costAmount; | 
|     //减免金额 | 
|     private BigDecimal realAmount; | 
|   | 
| } |