TRF Certest first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Vanguard;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
/**
|
||||
* @property int $id
|
||||
* @property string $name
|
||||
* @property string $display_name
|
||||
* @property string $description
|
||||
* @property bool $removable
|
||||
* @property Carbon $created_at
|
||||
* @property Carbon $deleted_at
|
||||
*/
|
||||
class Permission extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $table = 'permissions';
|
||||
|
||||
protected $fillable = ['name', 'display_name', 'description'];
|
||||
|
||||
protected $casts = [
|
||||
'removable' => 'boolean',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user