Sync
This commit is contained in:
47
app/Models/UrlToCrawl.php
Normal file
47
app/Models/UrlToCrawl.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Created by Reliese Model.
|
||||
*/
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class UrlToCrawl
|
||||
*
|
||||
* @property int $id
|
||||
* @property string $domain
|
||||
* @property string $url
|
||||
* @property bool $is_crawling
|
||||
* @property bool $is_crawled
|
||||
* @property string|null $output_type
|
||||
* @property string|null $output
|
||||
* @property string|null $metadata
|
||||
* @property string $status
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
*/
|
||||
class UrlToCrawl extends Model
|
||||
{
|
||||
protected $table = 'url_to_crawls';
|
||||
|
||||
protected $casts = [
|
||||
'is_crawling' => 'bool',
|
||||
'is_crawled' => 'bool',
|
||||
'metadata' => 'object',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'domain',
|
||||
'url',
|
||||
'is_crawling',
|
||||
'is_crawled',
|
||||
'output_type',
|
||||
'output',
|
||||
'metadata',
|
||||
'status',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user