# Generated by Django 3.2.19 on 2023-11-30 08:29
from django.conf import settings
import django.contrib.auth.models
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import dvadmin.system.models
class Migration(migrations.Migration):
initial = True
dependencies = [
('auth', '0012_alter_user_first_name_max_length'),
]
operations = [
migrations.CreateModel(
name='Users',
fields=[
('password', models.CharField(max_length=128, verbose_name='password')),
('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')),
('first_name', models.CharField(blank=True, max_length=150, verbose_name='first name')),
('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')),
('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')),
('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')),
('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')),
('id', models.BigAutoField(help_text='Id', primary_key=True, serialize=False, verbose_name='Id')),
('description', models.CharField(blank=True, help_text='描述', max_length=255, null=True, verbose_name='描述')),
('modifier', models.CharField(blank=True, help_text='修改人', max_length=255, null=True, verbose_name='修改人')),
('dept_belong_id', models.CharField(blank=True, help_text='数据归属部门', max_length=255, null=True, verbose_name='数据归属部门')),
('update_datetime', models.DateTimeField(auto_now=True, help_text='修改时间', null=True, verbose_name='修改时间')),
('create_datetime', models.DateTimeField(auto_now_add=True, help_text='创建时间', null=True, verbose_name='创建时间')),
('username', models.CharField(db_index=True, help_text='用户账号', max_length=150, unique=True, verbose_name='用户账号')),
('employee_no', models.CharField(blank=True, db_index=True, help_text='工号', max_length=150, null=True, unique=True, verbose_name='工号')),
('email', models.EmailField(blank=True, help_text='邮箱', max_length=255, null=True, verbose_name='邮箱')),
('mobile', models.CharField(blank=True, help_text='电话', max_length=255, null=True, verbose_name='电话')),
('avatar', models.CharField(blank=True, help_text='头像', max_length=255, null=True, verbose_name='头像')),
('name', models.CharField(help_text='姓名', max_length=40, verbose_name='姓名')),
('gender', models.IntegerField(blank=True, choices=[(0, '未知'), (1, '男'), (2, '女')], default=0, help_text='性别', null=True, verbose_name='性别')),
('user_type', models.IntegerField(blank=True, choices=[(0, '后台用户'), (1, '前台用户')], default=0, help_text='用户类型', null=True, verbose_name='用户类型')),
('last_token', models.CharField(blank=True, help_text='最后一次登录Token', max_length=255, null=True, verbose_name='最后一次登录Token')),
('creator', models.ForeignKey(db_constraint=False, help_text='创建人', null=True, on_delete=django.db.models.deletion.SET_NULL, related_query_name='creator_query', to=settings.AUTH_USER_MODEL, verbose_name='创建人')),
],
options={
'verbose_name': '用户表',
'verbose_name_plural': '用户表',
'db_table': 'dvadmin_system_users',
'ordering': ('-create_datetime',),
},
managers=[
('objects', django.contrib.auth.models.UserManager()),
],
),
migrations.CreateModel(
name='Dept',
fields=[
('id', models.BigAutoField(help_text='Id', primary_key=True, serialize=False, verbose_name='Id')),
('description', models.CharField(blank=True, help_text='描述', max_length=255, null=True, verbose_name='描述')),
('modifier', models.CharField(blank=True, help_text='修改人', max_length=255, null=True, verbose_name='修改人')),
('dept_belong_id', models.CharField(blank=True, help_text='数据归属部门', max_length=255, null=True, verbose_name='数据归属部门')),
('update_datetime', models.DateTimeField(auto_now=True, help_text='修改时间', null=True, verbose_name='修改时间')),
('create_datetime', models.DateTimeField(auto_now_add=True, help_text='创建时间', null=True, verbose_name='创建时间')),
('name', models.CharField(help_text='部门名称', max_length=64, verbose_name='部门名称')),
('key', models.CharField(blank=True, help_text='关联字符', max_length=64, null=True, unique=True, verbose_name='关联字符')),
('sort', models.IntegerField(default=1, help_text='显示排序', verbose_name='显示排序')),
('owner', models.CharField(blank=True, help_text='负责人', max_length=32, null=True, verbose_name='负责人')),
('phone', models.CharField(blank=True, help_text='联系电话', max_length=32, null=True, verbose_name='联系电话')),
('email', models.EmailField(blank=True, help_text='邮箱', max_length=32, null=True, verbose_name='邮箱')),
('status', models.BooleanField(blank=True, default=True, help_text='部门状态', null=True, verbose_name='部门状态')),
('creator', models.ForeignKey(db_constraint=False, help_text='创建人', null=True, on_delete=django.db.models.deletion.SET_NULL, related_query_name='creator_query', to=settings.AUTH_USER_MODEL, verbose_name='创建人')),
('parent', models.ForeignKey(blank=True, db_constraint=False, default=None, help_text='上级部门', null=True, on_delete=django.db.models.deletion.CASCADE, to='system.dept', verbose_name='上级部门')),
],
options={
'verbose_name': '部门表',
'verbose_name_plural': '部门表',
'db_table': 'dvadmin_system_dept',
'ordering': ('sort',),
},
),
migrations.CreateModel(
name='Menu',
fields=[
('id', models.BigAutoField(help_text='Id', primary_key=True, serialize=False, verbose_name='Id')),
('description', models.CharField(blank=True, help_text='描述', max_length=255, null=True, verbose_name='描述')),
('modifier', models.CharField(blank=True, help_text='修改人', max_length=255, null=True, verbose_name='修改人')),
('dept_belong_id', models.CharField(blank=True, help_text='数据归属部门', max_length=255, null=True, verbose_name='数据归属部门')),
('update_datetime', models.DateTimeField(auto_now=True, help_text='修改时间', null=True, verbose_name='修改时间')),
('create_datetime', models.DateTimeField(auto_now_add=True, help_text='创建时间', null=True, verbose_name='创建时间')),
('icon', models.CharField(blank=True, help_text='菜单图标', max_length=64, null=True, verbose_name='菜单图标')),
('name', models.CharField(help_text='菜单名称', max_len
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Python基于Django框架实现的一个学生宿舍管理系统源码+数据库(高分项目).zip已获导师指导并通过的97分的高分大作业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 Python基于Django框架实现的一个学生宿舍管理系统源码+数据库(高分项目).zip已获导师指导并通过的97分的高分大作业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 Python基于Django框架实现的一个学生宿舍管理系统源码+数据库(高分项目).zip已获导师指导并通过的97分的高分大作业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 Python基于Django框架实现的一个学生宿舍管理系统源码+数据库(高分项目).zip已获导师指导并通过的97分的高分大作业设计项目,可作为课程设计和期末大作业,下载即用无需修改,项目完整确保可以运行。 Python基于Django框架实现的一个学生宿舍管理系统源码+数据库(高分项目).zip已获导师指导并通过的97分的高分大作业设计项目,可作为课程设计
资源推荐
资源详情
资源评论
收起资源包目录
Python基于Django框架实现的一个学生宿舍管理系统源码+数据库(高分项目).zip (862个子文件)
d2-admin.babel 7KB
.browserslistrc 21B
my.cnf 1017B
my.conf 1KB
swagger-ui.css 140KB
bootstrap.min.css 119KB
ueditor.css 43KB
ueditor.min.css 34KB
font-awesome.min.css 30KB
font-awesome.min.css 30KB
bootstrap-theme.min.css 23KB
font-awesome-4.0.3.css 21KB
video-js.css 21KB
image.css 18KB
video.css 15KB
attachment.css 14KB
video-js.min.css 11KB
style.css 8KB
shCoreDefault.css 7KB
base.css 6KB
scrawl.css 4KB
bootstrap-tweaks.css 3KB
codemirror.css 3KB
charts.css 3KB
background.css 2KB
privacy.css 2KB
emotion.css 2KB
dialogbase.css 2KB
highlight.css 2KB
music.css 2KB
jquery.json-view.min.css 1KB
edittable.css 1KB
default.css 1KB
style.css 1KB
template.css 1KB
prettify.css 817B
webuploader.css 515B
help.css 389B
iframe.css 41B
.env.development 318B
Dockerfile 370B
Dockerfile 351B
Dockerfile 351B
DockerfileBuild 616B
DockerfileBuild 118B
.editorconfig 121B
.env 317B
fontawesome-webfont.eot 162KB
fontawesome-webfont.eot 162KB
fontawesome-webfont.eot 37KB
glyphicons-halflings-regular.eot 20KB
vjs.eot 3KB
.eslintignore 158B
UEditorSnapscreen.exe 508KB
wface.gif 49KB
jxface2.gif 40KB
yface.gif 28KB
bface.gif 27KB
icons.gif 20KB
file-icons.gif 20KB
file-icons.gif 20KB
tface.gif 19KB
fface.gif 18KB
cface.gif 8KB
icons-all.gif 4KB
videologo.gif 2KB
cancelbutton.gif 1KB
button-bg.gif 1KB
lock.gif 1KB
alignicon.gif 1KB
word.gif 1019B
icon_doc.gif 1012B
icon_psd.gif 1009B
icon_rar.gif 1007B
icon_xls.gif 1005B
icon_ppt.gif 1001B
icon_mv.gif 1001B
icon_pdf.gif 996B
icon_mp3.gif 986B
icon_txt.gif 970B
icon_jpg.gif 950B
icon_exe.gif 949B
icon_chm.gif 923B
loading.gif 734B
icons.gif 453B
icons.gif 453B
icons.gif 453B
success.gif 445B
success.gif 445B
success.gif 445B
cursor_v.gif 370B
cursor_h.gif 253B
anchor.gif 184B
highlighted.gif 111B
unhighlighted.gif 111B
bg.gif 84B
pagebreak.gif 54B
spacer.gif 43B
0.gif 43B
.gitignore 1KB
共 862 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
不安分的小女孩
- 粉丝: 9560
- 资源: 2182
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功