优惠卷
复读
This commit is contained in:
@@ -49,6 +49,10 @@ public class CouponHistory {
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private int canUse;
|
||||
@TableField(exist = false)
|
||||
private String canUseReason;
|
||||
@TableField(exist = false)
|
||||
private CouponEntity couponEntity;
|
||||
@TableField(exist = false)
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@TableName("coupon_to_product")
|
||||
public class CouponToProduct {
|
||||
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
private Integer couponId;
|
||||
|
||||
private Integer productId;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private CouponEntity couponEntity;
|
||||
@TableField(exist = false)
|
||||
private ShopProduct shopProduct;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user