package com.xxfc.platform.activity.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author libin
 * @version 1.0
 * @description
 * @data 2019/12/4 14:34
 */
@Data
@Table(name = "activity_attendance_record")
public class ActivityAttendanceRecord {
    @Id
    @GeneratedValue(generator = "JDBC")
    private Long id;
    @Column(name = "user_id")
    private Integer userId;
    @Column(name = "user_name")
    private String userName;
    @Column(name = "phone")
    private String phone;
    @Column(name = "activity_id")
    private Integer activityId;
    @Column(name = "activity_name")
    private String activityName;
    @Column(name = "position_id")
    private Integer positionId;
    @Column(name = "position_name")
    private String positionName;
    @ApiModelProperty("线上抽奖次数")
    @Column(name = "online_lottery_num")
    private Integer onlineLotteryNum;
    @ApiModelProperty("现场抽奖次数")
    @Column(name = "locale_lottery_num")
    private Integer localeLotteryNum;
    @Column(name = "crt_time")
    private Date crtTime;
}
