package com.hzs.common.domain.activity.base.ext;

import com.hzs.common.core.annotation.Transaction;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import com.hzs.common.domain.activity.base.AcBaseConfig;
import com.hzs.common.domain.activity.other.AcOtherPriceConfig;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @description: 基础活动扩展类
 * @author: sui q
 * @time: 2023/4/27 09:21
 * @classname: AcBaseConfigExt
 * @package_name: com.hzs.common.domain.activity.base.ext
 * version 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class AcBaseConfigExt extends AcBaseConfig {

    /**
     * 活动状态
     */
    @Transaction(transactionKey = EnumsPrefixConstants.ACTIVITY_STATUS)
    private Integer actStatus;

    private String actStatusVal;

    private String actTypeVal;

    /**
     * 存在抽奖，前台显示抽奖按钮
     */
    private Integer existDrawNum;

    /**
     * 存在新人礼包，前台显示领取按钮
     */
    private Integer existNewPeopleGift;

    /**
     * 新人礼包规则主键
     */
    private Long pkNewPeople;

    /**
     * 活动状态
     */
    private String status;

    /**
     * 车奖、旅游奖配置列表
     */
    private List<AcOtherPriceConfig> otherPriceConfigList;

}
