package com.cyksj.model.entity;

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

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * 项目名: yhlxj
 * 文件名: UserActivity
 * 创建者: JavaZou
 * 创建时间:2024/4/15 15:44
 * 官网用户活动表
 */
@Getter
@Setter
public class UserActivity extends BaseEntity{
	/**
	 * 活动名称
	 */
	@NotEmpty(message = "活动名称不能为空")
	private String name;

	/**
	 * 开始时间
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Date startTime;

	/**
	 * 结束时间
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Date endTime;

	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 优惠券ids
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String couponIds;

	/**
	 * 图片
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String img;

	/**
	 * 规则图片
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private String rules;

	/**
	 * 是否删除
	 */
	private Boolean deleted;
}
