# Generated by Django 3.2.23 on 2025-12-02 06:43

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


class Migration(migrations.Migration):

    dependencies = [
        ('crm', '0018_auto_20251202_1430'),
    ]

    operations = [
        migrations.CreateModel(
            name='TeachingCenter',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100, verbose_name='教学中心名称')),
                ('address', models.CharField(blank=True, max_length=200, null=True, verbose_name='地址')),
                ('phone', models.CharField(blank=True, max_length=20, null=True, verbose_name='联系电话')),
            ],
            options={
                'verbose_name': '教学中心',
                'verbose_name_plural': '教学中心',
            },
        ),
        migrations.AddField(
            model_name='student',
            name='status',
            field=models.CharField(choices=[('ordinary', '普通用户'), ('intention', '意向用户'), ('reading', '在读'), ('graduated', '毕业')], default='ordinary', max_length=20, verbose_name='状态'),
        ),
        migrations.AlterField(
            model_name='student',
            name='teaching_center',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='crm.teachingcenter', verbose_name='关联教学中心'),
        ),
    ]
