|
@@ -108,6 +108,13 @@ class Client extends Model
|
|
|
return $this->hasOne(Pro::class, 'id', 'default_na_pro_id');
|
|
|
}
|
|
|
|
|
|
+ public function stickyNoteUpdatedBySession()
|
|
|
+ {
|
|
|
+ return $this->hasOne(AppSession::class, 'id', 'sticky_note_updated_by_session_id');
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
public function creator()
|
|
|
{
|
|
|
return $this->hasOne(Pro::class, 'id', 'created_by_pro_id');
|