12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
32
app/Models/LegacyImportMap.php
Normal file
32
app/Models/LegacyImportMap.php
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Enums\Portal;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class LegacyImportMap extends Model
|
||||
{
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'legacy_import_map';
|
||||
|
||||
protected $fillable = [
|
||||
'legacy_portal',
|
||||
'legacy_table',
|
||||
'legacy_id',
|
||||
'target_table',
|
||||
'target_id',
|
||||
'imported_at',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'legacy_portal' => Portal::class,
|
||||
'legacy_id' => 'integer',
|
||||
'target_id' => 'integer',
|
||||
'imported_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue