15 lines
218 B
PHP
15 lines
218 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Relations\Pivot;
|
|
|
|
class AddressEchoarea extends Pivot
|
|
{
|
|
protected function casts(): array
|
|
{
|
|
return [
|
|
'subscribed' => 'datetime:Y-m-d H:i',
|
|
];
|
|
}
|
|
} |