Files
aso/app/Models/AppointmentParticipant.php
Linksehat Staging Server ce024c2bcd merge
2023-05-08 08:50:15 +07:00

24 lines
417 B
PHP
Executable File

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class AppointmentParticipant extends Model
{
use HasFactory;
protected $fillable = [
'appointment_id',
'type',
'participantable_type',
'participantable_id',
];
public function participantable()
{
return $this->morphTo();
}
}