<?php

namespace App\Game\BetBy;

class BonusTemplate
{
    public $templateId;
    public $name;
    public $description;
    // 其他属性...

    public function __construct(array $data)
    {
        $this->templateId = $data['template_id'];
        $this->name = $data['name'];
        $this->description = $data['description'];
        // 其他属性...
    }
}
