# Generated by Django 5.2.8 on 2026-03-20 00:00

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('printing', '0035_merge_20260309_2247'),
    ]

    operations = [
        migrations.AddField(
            model_name='printingjob',
            name='external_product_name',
            field=models.CharField(blank=True, max_length=200, null=True, verbose_name='外部产品名'),
        ),
        migrations.AddField(
            model_name='printingjob',
            name='external_raw',
            field=models.JSONField(blank=True, default=dict, help_text='保存外部 record 的完整原始数据', verbose_name='外部原始数据'),
        ),
        migrations.AddField(
            model_name='printingorder',
            name='external_customer_id',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='外部客户ID'),
        ),
        migrations.AddField(
            model_name='printingorder',
            name='external_customer_name',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='外部客户名'),
        ),
        migrations.AddField(
            model_name='printingorder',
            name='external_employee_name',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='外部员工名'),
        ),
        migrations.AddField(
            model_name='printingorder',
            name='external_order_id',
            field=models.CharField(blank=True, db_index=True, max_length=100, null=True, verbose_name='外部订单编号'),
        ),
        migrations.AddField(
            model_name='printingorder',
            name='external_raw',
            field=models.JSONField(blank=True, default=dict, help_text='保存外部 records 聚合后的 order 级原始数据快照', verbose_name='外部原始数据'),
        ),
    ]
