Pu Zhibing
4 天以前 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
50
51
52
53
package com.ruoyi.goods.api.domain;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
 
import java.math.BigDecimal;
 
/**
 * @author zhibing.pu
 * @Date 2025/5/12 9:50
 */
@Data
@TableName("t_lottery_event_prize")
public class LotteryEventPrize {
    /**
     * 主键
     */
    @TableId(value = "id",  type = IdType.AUTO)
    private String id;
    /**
     * 抽奖id
     */
    @TableField("lottery_event_id")
    private String lotteryEventId;
    /**
     * 奖品类型(1=优惠券,2=平台商品,3=线下商品,4=积分)
     */
    @TableField("prize_type")
    private Integer prizeType;
    /**
     * 奖品id
     */
    @TableField("object_id")
    private String objectId;
    /**
     * 奖品名称
     */
    @TableField("object_name")
    private String objectName;
    /**
     * 奖品数量
     */
    @TableField("number")
    private Integer number;
    /**
     * 中奖率%
     */
    @TableField("win_rate")
    private BigDecimal winRate;
}