# Generated by Django 3.0.5 on 2021-03-30 03:46

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


class Migration(migrations.Migration):

    dependencies = [
        ('system', '0008_auto_20210311_0919'),
        ('supervision', '0011_auto_20210330_1020'),
    ]

    operations = [
        migrations.CreateModel(
            name='TaskDept',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('up_rate', models.IntegerField(default=0, verbose_name='上报率')),
                ('confirm_rate', models.IntegerField(default=0, verbose_name='确认率')),
                ('dept', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='taskdept_dept', to='system.Organization', verbose_name='关联公司')),
                ('task', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='taskdept_task', to='supervision.Task', verbose_name='关联任务')),
            ],
            options={
                'verbose_name': '任务部门视图',
                'verbose_name_plural': '任务部门视图',
            },
        ),
    ]
