first commit

This commit is contained in:
kizzroyal
2022-02-16 14:01:00 +07:00
commit f876f79060
294 changed files with 92083 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Config;
class AccountLevelMoney extends Model
{
use HasFactory;
protected $table = "account_level_money";
protected $fillable = [
'sdt',
'type',
'min',
'max',
];
public function getGameAttribute()
{
$games = Config::get('constant.list_game');
return $games[$this->type] ?? '';
}
}