# Generated by Django 3.0.4 on 2020-09-01 03:05

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


class Migration(migrations.Migration):

    dependencies = [
        ('crm', '0023_auto_20200826_1444'),
    ]

    operations = [
        migrations.AddField(
            model_name='consumer',
            name='ID_number1',
            field=models.CharField(blank=True, max_length=100, null=True, verbose_name='身份证号'),
        ),
        migrations.CreateModel(
            name='Candidate',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('create_time', models.DateTimeField(default=django.utils.timezone.now, help_text='创建时间', verbose_name='创建时间')),
                ('update_time', models.DateTimeField(auto_now=True, help_text='修改时间', verbose_name='修改时间')),
                ('is_delete', models.BooleanField(default=False, help_text='删除标记', verbose_name='删除标记')),
                ('report_number', models.TextField(verbose_name='报告单号')),
                ('issue_date', models.DateField(verbose_name='发证日期')),
                ('consumer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='candidate_consumer', to='crm.Consumer')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
