<?php

/**
 * 福利活动
 */

namespace Tool\LoadTemplate\Logic;

use Game\Constant\ConstTemplate\TemplateActivityTime;
use Game\Constant\ConstTemplate\TemplateActivityWelfare;
use Tool\LoadTemplate\ILogic;

class ActivityWelfareLogic extends ILogic
{

    public function dealRow(&$row): bool
    {
        $row[TemplateActivityWelfare::Id] = (int)$row[TemplateActivityWelfare::Id];
        $row[TemplateActivityWelfare::UseType] = (int)$row[TemplateActivityWelfare::UseType];
        $row[TemplateActivityWelfare::ItemId1] = (int)$row[TemplateActivityWelfare::ItemId1];
        $row[TemplateActivityWelfare::Numb1] = (int)$row[TemplateActivityWelfare::Numb1];
        $row[TemplateActivityWelfare::ItemId2] = (int)$row[TemplateActivityWelfare::ItemId2];
        $row[TemplateActivityWelfare::Numb2] = (int)$row[TemplateActivityWelfare::Numb2];
        return true;
    }

    public function dealFile(&$file): bool
    {

        return true;
    }
}
