modified assests

This commit is contained in:
2026-06-15 11:25:16 +07:00
parent 3f115866d9
commit e96d58dcb4
1218 changed files with 1162 additions and 339502 deletions

View File

@@ -13,7 +13,7 @@ class Organism extends BaseModel
*
* @var string
*/
protected $fillable = ['name_en', 'weight', 'is_bold', 'lab_id'];
protected $fillable = ['name_en', 'weight', 'is_bold', 'organization_id'];
public static function boot()
{
@@ -21,7 +21,7 @@ class Organism extends BaseModel
}
public function lab(){
return $this->belongsTo('App\Models\Laboratory', 'lab_id','id');
return $this->belongsTo('App\Models\Organization', 'organization_id','id');
}
}