package cn.lili.modules.lmk.domain.entity; import cn.lili.modules.lmk.enums.general.PrizeDistributeStatusEnum; import cn.lili.modules.lmk.enums.general.PrizeStatusEnum; import cn.lili.mybatis.BaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import lombok.Data; /** * 用户抽奖记录表 * * @author peng * @since 2025-08-14 */ @Data @TableName("lmk_prize_record") public class PrizeRecord extends BaseEntity { private static final long serialVersionUID = 1L; @TableField("user_id") /** 用户id */ private Long userId; @TableField("nick_name") /** 用户昵称 */ private String nickName; @TableField("prize_activity_id") /** 活动id */ private Long prizeActivityId; @TableField("prize_activity_name") /** 活动名称 */ private String prizeActivityName; @TableField("prize_activity_cover") /** 活动封面 */ private String prizeActivityCover; @TableField("prize_status") /** 中奖状态 * @see PrizeStatusEnum * */ private String prizeStatus; @TableField("prize_content") /** 中奖内容 */ private String prizeContent; @TableField("prize_id") /** 奖品id */ private Long prizeId; @TableField("prize_name") /** 奖品名称 */ private String prizeName; @TableField("prize_img") /** 奖品封面 */ private String prizeImg; @TableField("prize_num_id") /** 抽奖次数表id */ private Long prizeNumId; @TableField("activity_prize_ref_id") /** 活动奖品关联表id */ private Long activityPrizeRefId; @TableField("distribute_status") /** 奖品发放状态 * @see PrizeDistributeStatusEnum * */ private String distributeStatus; }