2022-09-21 11:17:58 +00:00
|
|
|
<?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',
|
2022-12-22 10:36:32 +01:00
|
|
|
'robots' => 'boolean',
|
|
|
|
|
'code' => 'encrypted'
|
2022-09-21 11:17:58 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The attributes that are mass assignable.
|
|
|
|
|
*
|
|
|
|
|
* @var array
|
|
|
|
|
*/
|
|
|
|
|
protected $fillable = [
|
2022-09-22 13:56:33 +02:00
|
|
|
'project_uuid', 'code', 'sitemap', 'robots', 'logs', 'last_call'
|
2022-09-21 11:17:58 +00:00
|
|
|
];
|
|
|
|
|
}
|