belongsTo(User::class); } public function sensors() { return $this->hasMany(Sensors::class); } }