# Generated by Django 2.2.25 on 2021-12-23 12:14

from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import intranet.femida.src.core.models
import model_utils.fields


class Migration(migrations.Migration):

    dependencies = [
        ('candidates', '0041_candidatetag_is_active'),
    ]

    operations = [
        migrations.CreateModel(
            name='ScoringCategory',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name_ru', models.CharField(max_length=255)),
                ('name_en', models.CharField(max_length=255)),
                ('is_active', models.BooleanField(default=False)),
            ],
            bases=(intranet.femida.src.core.models.I18NNameModelMixin, models.Model),
        ),
        migrations.CreateModel(
            name='CandidateScoring',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
                ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
                ('scoring_value', models.FloatField()),
                ('version', models.CharField(max_length=32)),
                ('candidate', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='candidate_scorings', to='candidates.Candidate')),
                ('scoring_category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='candidate_scorings', to='candidates.ScoringCategory')),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
