<?php

/**
 * 推荐商城
 */

namespace Game\Constant\ConstTemplate;

use Game\Constant\TemplateDefineBase;

class TemplateShopRecommend extends TemplateDefineBase
{
    public const Id = "Id";
    public const ItemId = "ItemId";
    public const Access = "Access"; //获取途径,0为可购买,非0不可购买
    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 function getTermList(): array
    {
        return array(
            self::Id,
            self::ItemId,
            self::Access,
            self::SDate,
            self::STime,
            self::EDate,
            self::ETime,
        );
    }
}
