# Generated by Django 4.1 on 2026-01-30 13:44

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("encyclopedia", "0001_initial"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="diseasewiki",
            options={
                "verbose_name": "农业知识百科",
                "verbose_name_plural": "农业知识百科",
            },
        ),
        migrations.AlterField(
            model_name="diseasewiki",
            name="category",
            field=models.CharField(
                choices=[
                    ("PEST", "虫害百科"),
                    ("DISEASE", "病害百科"),
                    ("PHYSIO", "生理性病害"),
                    ("SHAPE", "品相等级"),
                ],
                max_length=10,
                verbose_name="类别",
            ),
        ),
        migrations.AlterField(
            model_name="diseasewiki",
            name="create_time",
            field=models.DateTimeField(auto_now_add=True),
        ),
        migrations.AlterField(
            model_name="diseasewiki",
            name="symptoms",
            field=models.TextField(verbose_name="特征描述/发病症状"),
        ),
        migrations.AlterField(
            model_name="diseasewiki",
            name="treatment",
            field=models.TextField(verbose_name="分级标准/防治建议"),
        ),
        migrations.AlterField(
            model_name="diseasewiki",
            name="wiki_image",
            field=models.ImageField(
                blank=True, null=True, upload_to="wiki/", verbose_name="展示图片"
            ),
        ),
    ]
