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

import java.math.BigDecimal;

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.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 红包活动
 * </p>
 *
 * @author hzs
 * @since 2022-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("AC_RED_ENVELOPES_CONFIG")
@KeySequence("RED_ENVELOPES_CONFIG_SEQ")
public class AcRedEnvelopesConfig extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 活动配置
     */
    @TableField("PK_ACTIVITY")
    private Integer pkActivity;

    /**
     * 等级
     */
    @TableField("PK_GRADE")
    private Integer pkGrade;

    /**
     * 奖衔
     */
    @TableField("PK_AWARDS")
    private Integer pkAwards;

    /**
     * 充值金额
     */
    @TableField("RECHARGE_MONEY")
    private BigDecimal rechargeMoney;

    /**
     * 是否倍数
     */
    @TableField("IS_MULTIPLE")
    private Integer isMultiple;

    /**
     * 计算类型
     */
    @TableField("CAL_TYPE")
    private Integer calType;

    /**
     * 赠送值
     */
    @TableField("GIVE_VALUE")
    private BigDecimal giveValue;


}
