package com.stylefeng.guns.modular.system.vo;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.math.BigDecimal;
|
import java.util.Date;
|
|
/**
|
* <p>
|
* 用户优惠券管理
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-02-06
|
*/
|
@Data
|
@ApiModel(value = "优惠券管理VO")
|
public class CouponVO extends Model<CouponVO> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
private Integer id;
|
@ApiModelProperty(value = "优惠券名称")
|
private String name;
|
@ApiModelProperty(value = "优惠券起步使用金额")
|
private BigDecimal money;
|
@ApiModelProperty(value = "满减金额")
|
private BigDecimal reduction;
|
/**
|
* 用户id
|
*/
|
@ApiModelProperty(value = "优惠券id")
|
private Integer userId;
|
/**
|
* 优惠券ID
|
*/
|
@ApiModelProperty(value = "优惠券id")
|
private Integer couponId;
|
/**
|
* 领取时间
|
*/
|
@ApiModelProperty(value = "领取时间")
|
private Date receiveTime;
|
/**
|
* 领取类型 1打卡 2购课赠送 3消费赠送
|
*/
|
@ApiModelProperty(value = "领取类型 1打卡 2购课赠送 3消费赠送")
|
private Integer receiveType;
|
/**
|
* 优惠券有效开始日期
|
*/
|
@ApiModelProperty(value = "优惠券有效开始日期")
|
private Date startTime;
|
/**
|
* 优惠券有效结束日期
|
*/
|
@ApiModelProperty(value = "优惠券有效结束日期")
|
private Date endTime;
|
/**
|
* 状态1 未使用 2已使用
|
*/
|
@ApiModelProperty(value = "状态1 未使用 2已使用 3已过期")
|
private Integer state;
|
|
@Override
|
protected Serializable pkVal() {
|
return null;
|
}
|
}
|