Files
nuttyreading-java/src/main/java/com/peanut/modules/common/entity/CouponEntity.java
wangjinlei 3cef570c97 1
2024-03-15 10:19:03 +08:00

109 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}