# Generated by Django 3.1.7 on 2021-03-21 02:57

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='BookInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('book_id', models.CharField(max_length=32, verbose_name='图书编号')),
                ('book_name', models.CharField(max_length=100, verbose_name='图书名称')),
                ('book_author', models.CharField(max_length=100, verbose_name='作者')),
                ('book_price', models.IntegerField(default=0, verbose_name='价格')),
                ('book_mess', models.CharField(max_length=100, verbose_name='图书简介')),
                ('book_cbs', models.CharField(max_length=100, verbose_name='出版社')),
                ('book_sl', models.IntegerField(default=0, verbose_name='库存数量')),
                ('op_rq', models.DateField(verbose_name='操作日期')),
                ('bookstyle_id', models.CharField(max_length=100, verbose_name='图书类别')),
                ('book_shelf', models.CharField(max_length=32, verbose_name='所在书架')),
            ],
            options={
                'verbose_name': '图书信息',
                'verbose_name_plural': '图书信息s',
            },
        ),
        migrations.CreateModel(
            name='Bookstyle',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('booksytle_id', models.CharField(max_length=32, verbose_name='类别编号')),
                ('booksytle_name', models.CharField(max_length=32, verbose_name='类别名称')),
                ('parent_id', models.CharField(max_length=32, verbose_name='父类别编号')),
            ],
            options={
                'verbose_name': '图书类别',
                'verbose_name_plural': '图书类别s',
            },
        ),
    ]
