# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):
    dependencies = [
        ('clients', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Project',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('is_active', models.BooleanField(editable=False, default=True)),
                ('name', models.CharField(verbose_name='name', max_length=127, unique=True)),
                ('reference', models.CharField(verbose_name='internal reference', max_length=255, blank=True)),
                ('comments', models.TextField(verbose_name='comments', max_length=1023, blank=True)),
                ('client', models.ForeignKey(related_name='projects', to='clients.ClientOffice')),
                ('contact',
                 models.ForeignKey(verbose_name='contact person', to='clients.ContactPerson', related_name='projects',
                                   null=True, blank=True)),
                ('project_manager',
                 models.ForeignKey(verbose_name='project manager', to='clients.ContactPerson', related_name='manages',
                                   null=True, blank=True)),
            ],
            options={
                'verbose_name': 'project',
                'verbose_name_plural': 'projects',
            },
            bases=(models.Model,),
        ),
    ]
