Projects/3BIT/winter-semester/IIS/xnecasr00/app/Models/Fertilization.php
2026-04-14 19:28:46 +02:00

30 lines
563 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Fertilization extends Treatment
{
/** @use HasFactory<\Database\Factories\FertilizationFactory> */
use HasFactory;
protected $table = 'fertilizations';
protected $primaryKey = 'treatment_id';
public $incrementing = false;
protected $keyType = 'int';
protected $fillable = [
'treatment_id',
'substance',
'concentration',
'note',
];
protected $casts = [
'concentration' => 'float',
];
}