One Hat Cyber Team
Your IP :
216.73.216.84
Server IP :
50.6.229.107
Server :
Linux server.hostburly.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.2.30
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
andjemzt
/
public_html
/
minesqrcode
/
app
/
Models
/
Edit File:
Permits.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Support\Str; class Permits extends Model { use HasFactory, SoftDeletes; protected $keyType = 'string'; public $incrementing = false; protected $table = 'permits'; /** * The attributes that are mass assignable. * * @var array<int, string> */ protected $fillable = [ 'permitno', 'certno', 'name', 'mineral', 'quantity', 'tocountry', 'portname', 'state', 'purpose', 'dateissued', 'dateexpire', 'created_by', 'created_at', 'updated_at' ]; public static function boot(){ parent::boot(); static::creating(function ($model) { $model->id = Str::uuid(); }); } }
Simpan