*/ use HasFactory; protected $table = 'prunings'; protected $primaryKey = 'treatment_id'; public $incrementing = false; protected $keyType = 'int'; protected $fillable = [ 'treatment_id', 'method', 'percentage_removed', 'note', ]; protected $casts = [ 'percentage_removed' => 'integer', ]; }