# Generated by Django 5.2.7 on 2025-11-11 08:23

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


class Migration(migrations.Migration):

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        ('stateflow', '0011_rename_order_to_business_object'),
    ]

    operations = [
        migrations.AlterField(
            model_name='businessobject',
            name='content_type',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='contenttypes.contenttype', verbose_name='关联对象类型'),
        ),
        migrations.AlterField(
            model_name='businessobject',
            name='description',
            field=models.TextField(blank=True, verbose_name='描述'),
        ),
        migrations.AlterField(
            model_name='businessobject',
            name='name',
            field=models.CharField(max_length=100, verbose_name='业务对象名称'),
        ),
        migrations.AlterField(
            model_name='businessobject',
            name='object_id',
            field=models.PositiveIntegerField(blank=True, null=True, verbose_name='关联对象ID'),
        ),
        migrations.AlterField(
            model_name='stateflowrecord',
            name='business_object',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='state_logs', to='stateflow.businessobject', verbose_name='业务对象'),
        ),
    ]
