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

30 lines
548 B
PHP

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