This commit is contained in:
wangjinlei
2024-03-15 10:19:03 +08:00
parent 0c740d33a0
commit 3cef570c97
388 changed files with 657 additions and 783 deletions

View File

@@ -0,0 +1,108 @@
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 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;
/**
*
*/
@TableId
private Long id;
/**
* 优惠券类型 0现金1折扣
*/
private Integer couponType;
/**
* 优惠券名称
*/
private String couponName;
/**
* 优惠券面额
*/
private BigDecimal couponAmount;
/**
* 优惠券封面图
*/
private String couponUrl;
/**
* 每人限领
*/
private Integer limitedCollar;
/**
* 时效
*/
private String validity;
/**
* 生效方式 0领取日生效 1 设置生效日期
*/
private Integer takeEffectType;
/**
* 生效日期
*/
private Date takeEffectDate;
/**
* 截止日期
*/
private Date expirationDate;
/**
* 总发行数量
*/
public Integer totalCirculation;
/**
* 当前状态 0全部1生效2已过期
*/
private String currentState;
/**
* 备注
*/
private String remark;
/**
* 删除标志
*/
@TableLogic
private Integer delFlag;
/**
* 商品类型 0: 商品 1电子书
*/
private Integer couponProType;
/**
* 使用门槛
*/
private Integer useLevel;
}