ソースを参照

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');
+    }
 }