Files
SpiceManagementSystem/app/Models/Farmer.php
T
Malek TellissiandClaude Sonnet 4.6 4a98beeb45
Deploy / deploy (push) Successful in 14s
Restructure batch origins: nested entries per ingredient with Supplier/Farmer selects
Each BatchOrigin (spice) now has multiple BatchOriginEntry rows, replacing the flat
single-supplier/farmer fields. Lieferant and Landwirt are Select fields backed by
dedicated tables with inline create support. Migration preserves existing data.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-12 20:03:05 +02:00

11 lines
138 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Farmer extends Model
{
protected $fillable = ['name'];
}