Files
aso/app/Models/AppointmentParticipant.php
Server D3 Linksehat 1bf608b1ed Server 103 Commit
2024-07-18 16:05:33 +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();
}
}