# Generated by Django 5.0.2 on 2024-09-23 05:44

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


class Migration(migrations.Migration):

    dependencies = [
        ('backend', '0071_alter_formula_intro'),
    ]

    operations = [
        migrations.CreateModel(
            name='superAdmin',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False)),
                ('username', models.CharField(max_length=60, unique=True, verbose_name='登录用户名')),
                ('password', models.CharField(max_length=255, verbose_name='登录密码')),
                ('mobile', models.CharField(max_length=20, verbose_name='手机号码')),
                ('email', models.CharField(blank=True, max_length=60, null=True, verbose_name='邮件地址')),
                ('real_name', models.CharField(blank=True, max_length=255, null=True, verbose_name='真实姓名')),
                ('token', models.CharField(blank=True, default='', max_length=120, null=True, verbose_name='登录授权码')),
                ('role_id', models.IntegerField(blank=True, default=0, null=True, verbose_name='所属角色')),
                ('create_time', models.DateTimeField(default=backend.models.eight_hours_from_now, verbose_name='创建日期')),
                ('last_login_time', models.DateTimeField(default=backend.models.eight_hours_from_now, verbose_name='最后登录时间')),
                ('status', models.SmallIntegerField(blank=True, choices=[(5, '使用中'), (6, '已停用'), (4, '已删除')], null=True, verbose_name='状态')),
                ('header', models.CharField(blank=True, max_length=255, null=True, verbose_name='头像')),
                ('code', models.CharField(blank=True, max_length=255, null=True, verbose_name='工号')),
                ('job', models.CharField(blank=True, max_length=255, null=True, verbose_name='职位')),
                ('contact', models.CharField(blank=True, max_length=255, null=True, verbose_name='联系方式')),
                ('verification_code', models.CharField(blank=True, max_length=255, null=True, verbose_name='验证码')),
            ],
            options={
                'verbose_name': '超级管理员信息表',
                'verbose_name_plural': '超级管理员信息表',
                'db_table': 'super_admin',
            },
        ),
    ]
