This commit is contained in:
Dwi Swandhana
2026-02-21 05:12:55 +07:00
parent 1dac4b9e2a
commit 3b61faafbd
10 changed files with 603 additions and 1 deletions

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class BioCabinet extends Model
{
protected $table = 'bio_cabinets';
protected $guarded = [];
public function racks()
{
return $this->hasMany(BioRack::class, 'cabinet_id');
}
public function specimens()
{
return $this->hasMany(BioSpecimen::class, 'cabinet_id');
}
}