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

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


class Migration(migrations.Migration):
    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Panelist',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID', auto_created=True)),
                ('is_active', models.BooleanField(editable=False, default=True)),
                ('email', models.EmailField(max_length=127, blank=True, verbose_name='E-mail')),
                ('phone', models.CharField(max_length=63, blank=True, verbose_name='Phone')),
                ('mobile', models.CharField(max_length=63, blank=True, verbose_name='Mobile')),
                ('first_name', models.CharField(max_length=127, verbose_name='first name',
                                                validators=[django.core.validators.MinLengthValidator(2)])),
                ('last_name', models.CharField(max_length=63, verbose_name='last name',
                                               validators=[django.core.validators.MinLengthValidator(2)])),
                ('gender', models.CharField(max_length=1, choices=[('U', 'unknown'), ('M', 'male'), ('F', 'female'),
                                                                   ('N', 'not applicable')], default='U')),
                ('address', models.CharField(max_length=127, verbose_name='address')),
                ('zip', models.CharField(max_length=63, verbose_name='postal code')),
                ('city', models.CharField(max_length=63, verbose_name='city')),
                ('country', models.CharField(max_length=63, verbose_name='country')),
                ('state', models.CharField(max_length=63, blank=True, verbose_name='state/district')),
                ('address2', models.CharField(max_length=127, blank=True, verbose_name='address supplements')),
                ('date_of_birth', models.DateField(null=True, verbose_name='date of birth')),
                ('comments', models.TextField(max_length=1023, blank=True, verbose_name='comments')),
                ('shorthand', models.CharField(max_length=10, editable=False, unique=True, verbose_name='Identifier')),
            ],
            options={
                'ordering': ['last_name'],
                'verbose_name': 'panelist',
                'verbose_name_plural': 'panelists',
            },
            bases=(models.Model,),
        ),
    ]
