20 lines
406 B
PHP
20 lines
406 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Models\Concerns\BelongsToTenant;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/** @property array{country:string,catalogue:string,record_id:string}|null $geography_reference */
|
|
class Warehouse extends Model
|
|
{
|
|
use BelongsToTenant;
|
|
|
|
protected $guarded = ['id'];
|
|
|
|
protected function casts(): array
|
|
{
|
|
return ['geography_reference' => 'array'];
|
|
}
|
|
}
|