فهرست منبع

Client->coreNote()

Vijayakrishnan 3 سال پیش
والد
کامیت
4383714398
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      app/Models/Client.php

+ 4 - 0
app/Models/Client.php

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