# Generated by Django 3.2.23 on 2025-12-03 08:37

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('crm', '0021_alter_studentproject_status'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='project',
            options={'ordering': ['-is_top', 'sort_order', '-created_at'], 'verbose_name': '项目课程', 'verbose_name_plural': '项目课程'},
        ),
        migrations.AddField(
            model_name='project',
            name='is_top',
            field=models.BooleanField(default=False, verbose_name='是否置顶'),
        ),
        migrations.AddField(
            model_name='project',
            name='sort_order',
            field=models.IntegerField(default=0, verbose_name='排序'),
        ),
        migrations.AlterField(
            model_name='project',
            name='project_type',
            field=models.CharField(choices=[('training', '在职项目'), ('competition', '典礼&论坛'), ('grading', '校友活动')], default='training', max_length=20, verbose_name='项目类型'),
        ),
        migrations.AlterField(
            model_name='studentproject',
            name='status',
            field=models.CharField(choices=[('enrolled', '已报名'), ('studying', '在读'), ('graduated', '毕业'), ('finished', '结束')], default='enrolled', max_length=20, verbose_name='状态'),
        ),
    ]
