[WIP] Import Plans

This commit is contained in:
2022-07-07 10:17:46 +07:00
parent f18bb85b94
commit 574004d408
146 changed files with 28928 additions and 71 deletions

25
app/Models/ImportLog.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class ImportLog extends Model
{
use HasFactory;
protected $fillable = [
'importable_type',
'importable_id',
'type',
'file_path',
'status',
'progress',
];
public function files()
{
return $this->morphMany(File::class, 'fileable');
}
}