删除优惠卷

新版优惠卷
This commit is contained in:
wuchunlei
2024-09-25 16:00:51 +08:00
parent 872718e01a
commit d8acf99237
43 changed files with 421 additions and 1526 deletions

View File

@@ -4,105 +4,69 @@ 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;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import lombok.Data;
/**
*
*
* @author yl
* @email yl328572838@163.com
* @date 2022-10-28 17:38:29
*/
@Data
@TableName("sms_coupon")
public class CouponEntity implements Serializable {
private static final long serialVersionUID = 1L;
@TableName("coupon")
public class CouponEntity {
/**
*
*/
@TableId
private Long id;
@TableId
private Integer id;
/**
* 优惠券类型 0现金1折扣
*/
private Integer couponType;
//优惠券类型 0现金 1折扣
private Integer couponType;
/**
* 优惠券名称
*/
private String couponName;
//优惠卷范围 0无限制 1课程卷 2课程品类卷
private Integer couponRange;
/**
* 优惠券面额
*/
private BigDecimal couponAmount;
//范围详情(课程卷是课程id,分割课程品类卷是课程分类根id)
private String rangeInfo;
/**
* 优惠券封面图
*/
private String couponUrl;
//优惠券名称
private String couponName;
/**
* 每人限领
*/
private Integer limitedCollar;
//优惠券面额
private BigDecimal couponAmount;
/**
* 时效
*/
private String validity;
//优惠券封面
private String couponUrl;
/**
* 生效方式 0领取日生效 1 设置生效日期
*/
private Integer takeEffectType;
//每人限领
private Integer limitedCollar;
/**
* 生效日期
*/
private Date takeEffectDate;
//生效方式 0长期有效 1领取生效 2自定义
private Integer effectType;
/**
* 截止日期
*/
private Date expirationDate;
//时效(天)
private Integer validity;
/**
* 总发行数量
*/
public Integer totalCirculation;
//生效日期
private Date effectTime;
/**
* 当前状态 0全部1生效2已过期
*/
private String currentState;
//截止日期
private Date expireTime;
/**
* 备注
*/
private String remark;
//总发行数量
private Integer totalCirculation;
/**
* 删除标志
*/
@TableLogic
private Integer delFlag;
//当前状态 0 发放中 1结束
private Integer currentState;
/**
* 商品类型 0: 商品 1电子书
*/
private Integer couponProType;
//备注
private String remark;
/**
* 使用门槛
*/
private Integer useLevel;
//使用门槛
private Integer useLevel;
private Date createTime;
@TableLogic
private Integer delFlag;
@TableField(exist = false)
private List<Object> rangeList;
}