# Generated by Django 3.0.3 on 2020-02-18 12:06

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


class Migration(migrations.Migration):

    dependencies = [
        ('project_core', '0104_delete_colour'),
        ('evaluation', '0003_rename_reviewer_field_to_user'),
    ]

    operations = [
        migrations.AlterField(
            model_name='reviewer',
            name='calls',
            field=models.ManyToManyField(blank=True, to='project_core.Call'),
        ),
        migrations.CreateModel(
            name='ProposalEvaluation',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('final_mark', models.IntegerField(validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(10)])),
                ('allocated_budget', models.DecimalField(blank=True, decimal_places=2, help_text='Allocated budget', max_digits=10, null=True, validators=[django.core.validators.MinValueValidator(0)])),
                ('panel_remarks', models.TextField(blank=True, null=True)),
                ('feedback_to_applicant', models.TextField(blank=True, null=True)),
                ('panel_recommendation', models.CharField(choices=[('Fund', 'Fund'), ('Reserve', 'Reserve'), ('NotFund', 'Do not fund')], max_length=7)),
                ('board_decision', models.CharField(choices=[('Fund', 'Fund'), ('NotFund', 'NotFund')], max_length=7)),
                ('decision_date', models.DateField(blank=True, null=True)),
                ('proposal', models.OneToOneField(on_delete=django.db.models.deletion.PROTECT, to='project_core.Proposal')),
            ],
        ),
    ]
