<?php

/**
 * 兑换商城
 */

namespace Game\Constant\ConstTemplate;

use Game\Constant\TemplateDefineBase;

class TemplateShopExchange extends TemplateDefineBase
{
    public const Id = "Id";
    public const Item = "Item";
    public const ItemNum = "ItemNum";
    public const RewardItem = "RewardItem";
    public const ItemType = "ItemType";
    public const RewardItemNum = "RewardItemNum";
    public const Exchange = "Exchange";
    public const Term = "Term";


    public const DAY_RESET = 1;   // 日刷
    public const WEEK_RESET = 2;  // 周刷

    public function getTermList(): array
    {
        return array(
            self::Id,
            self::Item,
            self::ItemNum,
            self::ItemType,
            self::RewardItem,
            self::RewardItemNum,
            self::Exchange,
            self::Term,
        );
    }
}
