'json', 'is_active' => 'boolean', ]; public function property() { return $this->belongsTo(Property::class, 'property_id'); } public function referrer() { return $this->belongsTo(User::class, 'referrer_id'); } public function referred() { return $this->belongsTo(User::class, 'referred_id'); } public function creator() { return $this->belongsTo(User::class, 'created_by'); } public function updater() { return $this->belongsTo(User::class, 'updated_by'); } }