# Generated by Django 5.2.8 on 2026-01-14 05:41

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


class Migration(migrations.Migration):

    dependencies = [
        ('basic_info', '0024_frontend_page_and_visible_pages'),
        ('printing', '0028_batch_advance_record_only_parameters'),
    ]

    operations = [
        migrations.AddField(
            model_name='plateorder',
            name='merchant',
            field=models.ForeignKey(blank=True, help_text='所属商户，可空以兼容历史数据', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='plate_orders', to='basic_info.merchant', verbose_name='商户'),
        ),
        migrations.AddField(
            model_name='printingjob',
            name='merchant',
            field=models.ForeignKey(blank=True, help_text='所属商户，可空以兼容历史数据', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='printing_jobs', to='basic_info.merchant', verbose_name='商户'),
        ),
        migrations.AddField(
            model_name='printingorder',
            name='merchant',
            field=models.ForeignKey(blank=True, help_text='所属商户，可空以兼容历史数据', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='printing_orders', to='basic_info.merchant', verbose_name='商户'),
        ),
    ]
