|
@@ -18,6 +18,11 @@ class Note extends Model
|
|
return $this->hasOne(Pro::class, 'id', 'hcp_pro_id');
|
|
return $this->hasOne(Pro::class, 'id', 'hcp_pro_id');
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public function noteTemplate()
|
|
|
|
+ {
|
|
|
|
+ return $this->hasOne(NoteTemplate::class, 'id', 'note_template_id');
|
|
|
|
+ }
|
|
|
|
+
|
|
public function createdSession()
|
|
public function createdSession()
|
|
{
|
|
{
|
|
return $this->hasOne(AppSession::class, 'id', 'created_by_session_id');
|
|
return $this->hasOne(AppSession::class, 'id', 'created_by_session_id');
|