28 lines
519 B
PHP
28 lines
519 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class ProjectStatusChecker extends Model
|
|
{
|
|
/**
|
|
* The attributes that should be cast.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $casts = [
|
|
'code' => 'array',
|
|
'sitemap' => 'boolean',
|
|
'robots' => 'boolean'
|
|
];
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'project_uuid', 'code', 'sitemap', 'robots', 'logs', 'last_call'
|
|
];
|
|
}
|