<?php

/**
 * 兑换任务活动
 */

namespace Game\Constant\ConstTemplate;

use Game\Constant\TemplateDefineBase;

class TemplateTaskExchange extends TemplateDefineBase
{
    public const Id = "Id";
    public const TaskType = "TaskType";
    public const TaskId = "TaskId";
    public const SDate = "StartDate";
    public const STime = "Starttime";
    public const EDate = "EndDate";
    public const ETime = "EndTime";

    public const StartTime = "StartTime";   //上架时间-时间戳
    public const EndTime = "EndTime";       //下架时间-时间戳

    public const TASK_TYPE_SHOP = 1; // 兑换商店
    public const TASK_TYPE_LOGIN_NUM = 2; // 累计登录

    public function getTermList(): array
    {
        return array(
            self::Id,
            self::TaskType,
            self::TaskId,
            self::SDate,
            self::STime,
            self::EDate,
            self::ETime,
            self::StartTime,
            self::EndTime,
        );
    }
}
