初始化
This commit is contained in:
31
addons/webman/model/PlayerLevel.php
Normal file
31
addons/webman/model/PlayerLevel.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace addons\webman\model;
|
||||
|
||||
use addons\webman\traits\HasDateTimeFormatter;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class PlayerLevel
|
||||
* @property int id 主键
|
||||
* @property int level 等级
|
||||
* @property int content 内容
|
||||
* @property float recharge_amount 充值金额
|
||||
* @property float chip_multiple 打码量倍数
|
||||
* @property float bet_rebate_amount 返水所需打码量额度
|
||||
* @property float bet_rebate_ratio 打码量返水比值
|
||||
* @property float damage_rebate_ratio 客损返水比值
|
||||
* @property string created_at 创建时间
|
||||
* @property string updated_at 最后一次修改时间
|
||||
* @package addons\webman\model
|
||||
*/
|
||||
class PlayerLevel extends Model
|
||||
{
|
||||
use HasDateTimeFormatter;
|
||||
|
||||
public function __construct(array $attributes = [])
|
||||
{
|
||||
parent::__construct($attributes);
|
||||
$this->setTable(plugin()->webman->config('database.player_level_table'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user