api appointment store and show
This commit is contained in:
@@ -102,4 +102,9 @@ class Person extends Model
|
||||
{
|
||||
return $this->hasOne(User::class, 'person_id');
|
||||
}
|
||||
|
||||
public function appointmentParticipantables()
|
||||
{
|
||||
return $this->morphMany(AppointmentParticipant::class, 'participantable');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user