'decimal:2', 'typical_alcohol' => 'decimal:2', ]; /** * Get the grape variety that owns this variation. */ public function grapeVariety(): BelongsTo { return $this->belongsTo(GrapeVariety::class, 'grape_variety_id'); } /** * Get the vineyard rows for this variety variation. */ public function vineyardRows(): HasMany { return $this->hasMany(VineyardRow::class, 'variety_variation_id'); } /** * Get the harvests for this variety variation. */ public function harvests(): HasMany { return $this->hasMany(Harvest::class, 'variety_variation_id'); } }