初始化

This commit is contained in:
2026-03-02 13:44:38 +08:00
commit 05b785083c
677 changed files with 58662 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
<?php
namespace addons\webman\model;
use addons\webman\traits\HasDateTimeFormatter;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
/**
* Class GamePlatform
* @property int id 主键
* @property string name 游戏平台code
* @property string title 游戏
* @property string config 配置
* @property int status 状态
* @property string created_at 创建时间
* @property string updated_at 最后一次修改时间
* @property string deleted_at 删除时间
* @property float service_ratio 供应商分润比例
*
* @package addons\webman\model
*/
class GamePlatform extends Model
{
use SoftDeletes, HasDateTimeFormatter;
public function __construct(array $attributes = [])
{
parent::__construct($attributes);
$this->setTable(plugin()->webman->config('database.game_platform_table'));
}
}