# -*- coding: utf-8 -*-
# Generated by Django 1.11.20 on 2020-01-03 17:29
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion
import mysite.admin.abstract_cloud_model


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('payroll', '0001_initial'),
        ('personnel', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='salarystructure',
            name='employee',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Employee', verbose_name='model_employee'),
        ),
        migrations.AddField(
            model_name='salarystructure',
            name='exceptionformula',
            field=models.ManyToManyField(blank=True, to='payroll.ExceptionFormula', verbose_name='payroll_model_exceptionFormula'),
        ),
        migrations.AddField(
            model_name='salarystructure',
            name='increasementformula',
            field=models.ManyToManyField(blank=True, to='payroll.IncreasementFormula', verbose_name='payroll_model_increasementFormula'),
        ),
        migrations.AddField(
            model_name='salarystructure',
            name='leaveformula',
            field=models.ManyToManyField(blank=True, to='payroll.LeaveFormula', verbose_name='payroll_model_leaveFormula'),
        ),
        migrations.AddField(
            model_name='salarystructure',
            name='overtimeformula',
            field=models.ManyToManyField(blank=True, to='payroll.OvertimeFormula', verbose_name='payroll_model_overtimeFormula'),
        ),
        migrations.AddField(
            model_name='salaryadvance',
            name='employee',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Employee', verbose_name='model_employee'),
        ),
        migrations.AddField(
            model_name='reimbursement',
            name='employee',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Employee', verbose_name='model_employee'),
        ),
        migrations.AddField(
            model_name='overtimeformula',
            name='company',
            field=models.ForeignKey(blank=True, default=mysite.admin.abstract_cloud_model.get_current_company, null=True, on_delete=django.db.models.deletion.CASCADE, to='personnel.Company'),
        ),
        migrations.AddField(
            model_name='monthlysalary',
            name='employee',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='personnel.Employee'),
        ),
    ]
