package com.ruoyi.goods.api.domain;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* 用户抽奖答题记录
|
* @author zhibing.pu
|
* @Date 2025/5/19 16:01
|
*/
|
@Data
|
@TableName("t_user_lottery_event_questions")
|
public class UserLotteryEventQuestions {
|
/**
|
* id
|
*/
|
@TableId(value = "id", type = IdType.INPUT)
|
private String id;
|
/**
|
* 用户id
|
*/
|
@TableField(value = "user_id")
|
private Long userId;
|
/**
|
* 抽奖活动id
|
*/
|
@TableField(value = "lottery_event_id")
|
private String lotteryEventId;
|
/**
|
* 答题开始时间
|
*/
|
@TableField(value = "create_time")
|
private LocalDateTime createTime;
|
/**
|
* 答题结束时间
|
*/
|
@TableField(value = "end_time")
|
private LocalDateTime endTime;
|
/**
|
* 状态(1=已开始,2=已结束)
|
*/
|
@TableField(value = "status")
|
private Integer status;
|
}
|