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;
|
}
|