# Generated by Django 2.1.8 on 2020-04-22 07:41

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='City',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(default='', max_length=128, unique=True)),
                ('count', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='Cityrelation',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('fathercity', models.CharField(default='', max_length=128)),
                ('soncity', models.CharField(default='', max_length=128)),
            ],
        ),
        migrations.CreateModel(
            name='Company',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(default='', max_length=128)),
                ('url', models.CharField(default='', max_length=256)),
                ('bannerurl', models.CharField(default='', max_length=256)),
                ('brief', models.CharField(default='', max_length=128)),
                ('website', models.CharField(default='', max_length=128)),
                ('email', models.EmailField(default='', max_length=254, unique=True)),
                ('phone', models.CharField(default='', max_length=16, unique=True)),
                ('heat', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='Order',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('user_id', models.IntegerField(default=0)),
                ('timestart', models.DateTimeField()),
                ('timeend', models.DateTimeField()),
                ('status', models.CharField(choices=[('ready', '有效'), ('cancel', '已取消'), ('expire', '已过期')], default='有效', max_length=32)),
            ],
        ),
        migrations.CreateModel(
            name='Subject',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('name', models.CharField(default='', max_length=128, unique=True)),
                ('url', models.CharField(default='', max_length=256)),
                ('count', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='Subrelation',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('fathername', models.CharField(default='', max_length=128)),
                ('sonname', models.CharField(default='', max_length=128)),
            ],
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('username', models.CharField(default='', max_length=128, unique=True)),
                ('password', models.CharField(default='', max_length=256)),
                ('salt', models.CharField(default='', max_length=8)),
                ('sex', models.CharField(choices=[('male', '男'), ('female', '女')], default='男', max_length=32)),
                ('birthday', models.CharField(default='', max_length=16)),
                ('phone', models.CharField(default='', max_length=16, unique=True)),
                ('email', models.EmailField(default='', max_length=254, unique=True)),
                ('realname', models.CharField(default='', max_length=128)),
                ('school', models.CharField(default='', max_length=128)),
                ('major', models.CharField(default='', max_length=128)),
                ('education', models.CharField(default='', max_length=128)),
                ('info', models.CharField(default='', max_length=256)),
                ('hobby', models.CharField(default='', max_length=256)),
                ('prize', models.CharField(default='', max_length=256)),
                ('skill', models.CharField(default='', max_length=256)),
                ('url', models.CharField(default='', max_length=256)),
            ],
        ),
        migrations.CreateModel(
            name='Work',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('company_name', models.CharField(default='', max_length=128)),
                ('url', models.CharField(default='', max_length=256)),
                ('name', models.CharField(default='', max_length=128)),
                ('education', models.CharField(default='', max_length=128)),
                ('subject', models.CharField(default='', max_length=128)),
                ('place', models.CharField(default='', max_length=128)),
                ('salarylow', models.IntegerField(default='')),
                ('salaryhigh', models.IntegerField(default='')),
                ('info', models.CharField(default='', max_length=256)),
                ('request', models.CharField(default='', max_length=256)),
                ('interview', models.BooleanField(default=False)),
            ],
        ),
    ]
