xsender / src /app /Models /Setting.php
Softin Trading
Initail commit from Github.
89a1081
Raw History Blame Contribute Delete
361 Bytes
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Setting extends Model
{
use HasFactory;
protected $guarded = [];
protected static function booted()
{
static::creating(function ($setting) {
$setting->uid = str_unique();
});
}
}