feat(notification): email event date changes
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domains\Notification\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Attributes\Fillable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
#[Fillable([
|
||||
'notification_key',
|
||||
'notification_type',
|
||||
'tenant_code',
|
||||
'event_date_id',
|
||||
'destination_event_date_id',
|
||||
'purchase_id',
|
||||
'sent_at',
|
||||
])]
|
||||
class EventDateNotificationDelivery extends Model
|
||||
{
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'event_date_id' => 'integer',
|
||||
'destination_event_date_id' => 'integer',
|
||||
'purchase_id' => 'integer',
|
||||
'sent_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user