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-05-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("AC_DRAW_REWARD_NUM_DETAIL_SEQ")
@TableName("AC_DRAW_REWARD_NUM_DETAIL")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AcDrawRewardNumDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 主表主键
     */
    @TableField("PK_DRAW_REWARD_NUM")
    private Long pkDrawRewardNum;

    /**
     * 订单主键
     */
    @TableField("PK_ORDER")
    private Long pkOrder;

    /**
     * 赠送次数
     */
    @TableField("GIVE_NUM")
    private Integer giveNum;


}
