Pu Zhibing
3 天以前 ea1a62ba6484d6c6cb1ca67dcea938a95ba18fc6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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;
}