package com.ylx.lottery.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ylx.common.annotation.Excel;
import com.ylx.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class LotteryCountLog extends BaseEntity {
    private static final long serialVersionUID = -7870788541798529977L;

    private Long id;

    @Excel(name = "用户的openID")
    private String openId;

    @Excel(name = "用户的userID")
    private String userId;

    @Excel(name = "用户电话")
    private String userPhone;

    @Excel(name = "活动类型：1.推广拉新 2.任务奖励  3.消费奖励")
    private Integer activityType;

    @Excel(name = "本地活动表ID")
    private String localActivityTableId;

    @Excel(name = "获得抽奖次数")
    private Integer lotteryNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Excel(name = "领取时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date receiveTime;

    @Excel(name = "是否删除 (1:是, 0:否)")
    private String isDelete;

    @Excel(name = "同步状态 0-未同步到本地生活 1-已同步到本地生活")
    private Integer status;

    @Excel(name = "类型(1.按摩订单 2.积分订单 3.评论有礼)")
    private Integer type;

    @Excel(name = "是否弹窗抽奖(0 .没有 1.有)")
    private Integer isLottery;

}
