@@ -837,4 +837,8 @@ ORDER BY m.ts DESC
}
return '-';
+
+ public function coreNote(){
+ return $this->hasOne(Note::class, 'id', 'core_note_id');
+ }