Update Doctor Resource
This commit is contained in:
25
app/Models/Practice.php
Normal file
25
app/Models/Practice.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Practice extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'practitioner_role_id',
|
||||
'service_code',
|
||||
'active',
|
||||
'created_by',
|
||||
'updated_by',
|
||||
'deleted_by'
|
||||
];
|
||||
|
||||
public function prices()
|
||||
{
|
||||
return $this->morphMany(Price::class, 'priceable');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user