package com.hzs.common.domain.activity.draw;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 抽奖中奖记录
 * </p>
 *
 * @author hzs
 * @since 2023-04-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("AC_DRAW_REWARD_RECORD_SEQ")
@TableName("AC_DRAW_REWARD_RECORD")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AcDrawRewardRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 活动基本配置主键
     */
    @TableField("PK_BASE_ID")
    private Long pkBaseId;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

    /**
     * 抽奖赠品配置主键
     */
    @TableField("PK_DRAW_GIFT_ID")
    private Long pkDrawGiftId;

}
