33 lines
878 B
PHP
33 lines
878 B
PHP
<?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'));
|
|
}
|
|
}
|