Download src/app/Models/Translation.php from pnacorp/xsender: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/Translation.php
- Command line
-
hf download hf://pnacorp/xsender/src/app/Models/Translation.php
-
curl -L -o Translation.php https://huggingface.co/pnacorp/xsender/resolve/main/src/app/Models/Translation.php
439 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Factories\HasFactory; | |
| use Illuminate\Database\Eloquent\Model; | |
| use Illuminate\Support\Str; | |
| use App\Traits\Filterable; | |
| class Translation extends Model | |
| { | |
| use HasFactory, Filterable; | |
| protected $guarded = []; | |
| protected static function booted() | |
| { | |
| static::creating(function (Model $model) { | |
| $model->uid = Str::uuid(); | |
| }); | |
| } | |
| } | |