package com.cyksj.model.entity;

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

import java.util.Date;

/*
 *项目名: netflix
 *文件名: CouponRecommend
 *创建者: JavaZou
 *创建时间:2022/11/17 18:01
 */
@Getter
@Setter
public class CouponRecommend extends BaseEntity {
	private Long couponId;

	/**
	 * 默认推荐
	 */
	private Boolean status;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Date upTime;

	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Date downTime;

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