Directory : /home/aplikasiposinfo/.trash/app.4/Models/ |
Current File : /home/aplikasiposinfo/.trash/app.4/Models/Permission.php |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Permission extends Model { public $table = 'permissions'; public $fillable = [ 'name', 'guard_name' ]; protected $casts = [ 'name' => 'string', 'guard_name' => 'string' ]; public static array $rules = [ 'name' => 'required|string|max:255', 'guard_name' => 'required|string|max:255', 'created_at' => 'nullable', 'updated_at' => 'nullable' ]; }