# Generated by Django 5.2.7 on 2025-11-27 07:29

import datetime
import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('basic_info', '0013_alter_customer_options'),
        ('business', '0001_initial'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='purchaseorder',
            name='order_date',
        ),
        migrations.AddField(
            model_name='purchaseorder',
            name='kind',
            field=models.IntegerField(choices=[(1, '大货'), (2, '样板')], default=1, verbose_name='采购单类型'),
        ),
        migrations.AddField(
            model_name='purchaseorder',
            name='operator',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='purchase_orders', to='basic_info.employee', verbose_name='经办人'),
        ),
        migrations.AddField(
            model_name='purchaseorder',
            name='purchase_date',
            field=models.DateField(default=datetime.datetime(2025, 11, 27, 15, 29, 17, 309981), verbose_name='采购日期'),
            preserve_default=False,
        ),
    ]
