# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2017-09-25 16:43
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Admin',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False)),
                ('userName', models.CharField(max_length=16)),
                ('password', models.CharField(max_length=16)),
            ],
        ),
        migrations.CreateModel(
            name='Applicant',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False)),
                ('name', models.CharField(max_length=32)),
                ('age', models.IntegerField()),
                ('gender', models.CharField(max_length=4)),
                ('tel', models.CharField(max_length=16)),
                ('wechat', models.CharField(max_length=16)),
                ('mail', models.CharField(max_length=32)),
                ('qulification', models.CharField(max_length=16)),
                ('work', models.CharField(max_length=64)),
                ('experience', models.CharField(blank=True, max_length=512)),
                ('goal', models.CharField(blank=True, max_length=512)),
                ('reason', models.CharField(blank=True, max_length=512)),
                ('attitude', models.CharField(blank=True, max_length=512)),
                ('rate', models.CharField(blank=True, max_length=512)),
                ('suitable', models.CharField(blank=True, max_length=512)),
                ('otherTopic', models.CharField(blank=True, max_length=512)),
                ('communicationType', models.CharField(blank=True, max_length=512)),
                ('advice', models.CharField(blank=True, max_length=512)),
                ('status', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='Student',
            fields=[
                ('id', models.IntegerField(primary_key=True, serialize=False)),
                ('number', models.CharField(max_length=8)),
                ('lastName', models.CharField(max_length=16)),
                ('firstName', models.CharField(max_length=16)),
                ('gender', models.CharField(max_length=4)),
                ('birthday', models.CharField(max_length=16)),
                ('grade', models.CharField(max_length=8)),
                ('tel', models.CharField(max_length=16)),
                ('wechat', models.CharField(max_length=16)),
                ('interest', models.CharField(max_length=64)),
                ('favor', models.CharField(max_length=64)),
                ('wish', models.CharField(max_length=64)),
                ('provider', models.CharField(max_length=32)),
                ('providerTel', models.CharField(max_length=16)),
                ('headTeacher', models.CharField(max_length=32)),
                ('teacherTel', models.CharField(max_length=16)),
                ('school', models.CharField(max_length=64)),
                ('remarks', models.CharField(blank=True, max_length=256)),
                ('status', models.IntegerField(default=0)),
            ],
        ),
        migrations.AddField(
            model_name='applicant',
            name='selectStudent',
            field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.CASCADE, to='WebModel.Student'),
        ),
    ]
