<?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',
    ];
}
