package com.qs.mp.admin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * @describe 活动订阅消息表实体类
 * @auther quanshu
 * @create 2022-07-03 10:19:16
 */
@TableName("mp_marketing_msg")
@Data
public class MarketingMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 活动id
     */
    @TableField("marketing_id")
    private Long marketingId;

    /**
     * 消息发送内容
     */
    @TableField("context")
    private String context;

    /**
     * 接收消息的用户
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 信息类型1开奖,2活动开始,3助力通知
     */
    @TableField("type")
    private Integer type;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;

    /**
     * 更新时间
     */
    @TableField("updated_time")
    private Date updatedTime;

    /**
     * 逻辑删除标识
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}