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.time.LocalDateTime;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2025/5/12 10:34
|
*/
|
@Data
|
@TableName("t_user_lottery_event")
|
public class UserLotteryEvent {
|
/**
|
* 主键
|
*/
|
@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;
|
/**
|
* 抽奖奖品id
|
*/
|
@TableField(value = "lottery_event_prize_id")
|
private String lotteryEventPrizeId;
|
/**
|
* 奖品类型(1=优惠券,2=平台商品,3=线下商品,4=积分,5=未中奖)
|
*/
|
@TableField(value = "prize_type")
|
private Integer prizeType;
|
/**
|
* 奖品id
|
*/
|
@TableField(value = "object_id")
|
private String objectId;
|
/**
|
* 奖品名称
|
*/
|
@TableField(value = "object_name")
|
private String objectName;
|
/**
|
* 奖品数量
|
*/
|
@TableField(value = "number")
|
private Integer number;
|
/**
|
* 中奖时间
|
*/
|
@TableField(value = "create_time")
|
private LocalDateTime createTime;
|
/**
|
* 核销码
|
*/
|
@TableField(value = "verify_code")
|
private String verifyCode;
|
/**
|
* 是否已核销(0=否,1=是)
|
*/
|
@TableField(value = "is_verify")
|
private Integer isVerify;
|
|
}
|