belongsTo(BioCabinet::class, 'cabinet_id'); } public function specimens() { return $this->hasMany(BioSpecimen::class, 'rack_id'); } }