'json', 'price' => 'decimal:2', 'is_active' => 'boolean', ]; public function referrals() { return $this->hasMany(Referral::class, 'property_id'); } public function creator() { return $this->belongsTo(User::class, 'created_by'); } public function updater() { return $this->belongsTo(User::class, 'updated_by'); } }