Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
o5t6x7pgljbm
/
www
/
admin
/
app
/
Models
/
DataImport
/
Filename :
ImportErrorSummary.php
back
Copy
<?php namespace App\Models\DataImport; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class ImportErrorSummary extends Model { use SoftDeletes; protected $table = 'import_error_summary'; protected $primaryKey = 'id'; protected $fillable = [ 'import_profile_id', 'import_queue_item_id', 'error_code', 'error_message', 'error_record_count' ]; const CREATED_AT = 'created_at'; const UPDATED_AT = 'updated_at'; public function profile() { return $this->belongsTo(ImportProfile::class, 'import_profile_id', 'import_profile_id'); } public function queueItem() { return $this->belongsTo(ImportQueueItem::class, 'import_queue_item_id', 'import_queue_item_id'); } } ?>