mooxphp/moox

View on GitHub
packages/permission/src/Models/Permission.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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',
    ];
}