package com.cyksj.model.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Getter;
import lombok.Setter;

/*
 *项目名: netflix
 *文件名: CouponActive
 *创建者: JavaZou
 *创建时间:2022/11/17 17:30
 */
@Getter
@Setter
public class CouponActive extends BaseEntity{
	/**
	 * 优惠券id
	 */
	private Long couponId;
	/**
	 * 发放数量
	 */
	private Integer num;

	/**
	 * 剩余数量
	 */
	private Integer remainNum;

	/**
	 * 状态(默认启用)
	 */
	private Boolean status;

	/**
	 * 有效状态(默认有效)
	 */
	private Boolean expiryStatus;

	@TableLogic(value = "1", delval = "0")
	private Boolean deleted;
}
