# Generated by Django 5.2.7 on 2026-01-21 10:54

import django.utils.timezone
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Farm',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=200, verbose_name='Farm Name')),
                ('owner_name', models.CharField(max_length=200, verbose_name='Owner Name')),
                ('location', models.CharField(max_length=300, verbose_name='Location/Address')),
                ('size_hectares', models.DecimalField(decimal_places=2, max_digits=10, verbose_name='Size (Hectares)')),
                ('registration_date', models.DateTimeField(default=django.utils.timezone.now)),
                ('status', models.CharField(choices=[('active', 'Active'), ('pending', 'Pending Inspection'), ('suspended', 'Suspended')], default='pending', max_length=20)),
            ],
        ),
    ]
