package com.sqx.modules.activityManage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author www.javacoder.top
 * @since 2022-11-04
 */
@Data
public class ActivityManage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 活动id
     */
    @TableId(value = "activity_id", type = IdType.AUTO)
    private Long activityId;

    /**
     * 活动标题
     */
    @TableField(condition = SqlCondition.LIKE)
    private String activityTitle;

    /**
     * 活动内容介绍
     */
    private String activityContent;

    /**
     * 活动图片
     */
    private String activityImage;

    /**
     * 是否启用(0否 1是)
     */
    private Integer isEnable;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 是否允许商户主动加入 0否 1是
     */
    private Integer isAllowShop;
}
