public function statuses(): BelongsToMany
{
return $this->belongsToMany(
Status::class,
'order_status',
'order_id',
'status_id'
)->withTimestamps();
}
public function statuses(): BelongsToMany
{
return $this->belongsToMany(
Status::class,
'order_status',
'order_id',
'status_id'
)->withTimestamps();
}