feat(event): audit suspended event dates
This commit is contained in:
@@ -86,16 +86,16 @@ class EventDate extends Model
|
||||
return $this->hasMany(self::class, 'rescheduled_to_event_date_id');
|
||||
}
|
||||
|
||||
/** @return HasMany<EventDateReschedule, $this> */
|
||||
public function rescheduleHistory(): HasMany
|
||||
/** @return HasMany<EventDateChange, $this> */
|
||||
public function changeHistory(): HasMany
|
||||
{
|
||||
return $this->hasMany(EventDateReschedule::class, 'source_event_date_id');
|
||||
return $this->hasMany(EventDateChange::class, 'source_event_date_id');
|
||||
}
|
||||
|
||||
/** @return HasMany<EventDateReschedule, $this> */
|
||||
public function destinationRescheduleHistory(): HasMany
|
||||
/** @return HasMany<EventDateChange, $this> */
|
||||
public function destinationChangeHistory(): HasMany
|
||||
{
|
||||
return $this->hasMany(EventDateReschedule::class, 'destination_event_date_id');
|
||||
return $this->hasMany(EventDateChange::class, 'destination_event_date_id');
|
||||
}
|
||||
|
||||
/** @return HasMany<Variant, $this> */
|
||||
|
||||
Reference in New Issue
Block a user