# Generated by Django 3.0.4 on 2021-06-06 00:53

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


class Migration(migrations.Migration):

    dependencies = [
        ('examtest', '0030_examtest_consumer_detail'),
        ('crm', '0030_auto_20210414_2200'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='candidate',
            options={'verbose_name': '证书', 'verbose_name_plural': '证书'},
        ),
        migrations.RemoveField(
            model_name='candidate',
            name='report_number',
        ),
        migrations.AddField(
            model_name='candidate',
            name='ID_number',
            field=models.CharField(blank=True, max_length=60, null=True, verbose_name='身份证号'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='compnay_name',
            field=models.CharField(blank=True, max_length=60, null=True, verbose_name='单位'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='consumer_name',
            field=models.CharField(blank=True, max_length=60, null=True, verbose_name='姓名'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='deptname',
            field=models.CharField(blank=True, max_length=60, null=True, verbose_name='部门'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='end_date',
            field=models.DateField(blank=True, null=True, verbose_name='有效期止'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='examtest',
            field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='candidate_examtest', to='examtest.ExamTest', verbose_name='关联考试'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='number',
            field=models.CharField(blank=True, max_length=60, null=True, verbose_name='报告单号'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='start_date',
            field=models.DateField(blank=True, null=True, verbose_name='有效期始'),
        ),
        migrations.AddField(
            model_name='candidate',
            name='workscope_name',
            field=models.CharField(blank=True, max_length=60, null=True, verbose_name='证书工作类别'),
        ),
        migrations.AlterField(
            model_name='candidate',
            name='workscope',
            field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, related_name='candidate_workscope', to='examtest.WorkScope'),
        ),
    ]
