Download src/app/Models/Setting.php from pnacorp/xsender: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/Setting.php
- Command line
-
hf download hf://pnacorp/xsender/src/app/Models/Setting.php
-
curl -L -o Setting.php https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/Setting.php
361 Bytes
| 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(); | |
| }); | |
| } | |
| } | |