packages/permission/src/Models/Permission.php
<?php
namespace Moox\Permission\Models;
use Illuminate\Database\Eloquent\Model;
class Permission extends Model
{
protected $table = 'permissions';
protected $fillable = [
'name',
'started_at',
'finished_at',
'failed',
];
protected $casts = [
'failed' => 'bool',
'started_at' => 'datetime',
'finished_at' => 'datetime',
];
}