# Generated by Django 5.2.1 on 2025-07-01 03:55

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("system", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="Post",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                (
                    "remark",
                    models.CharField(
                        blank=True,
                        db_comment="备注",
                        help_text="备注",
                        max_length=256,
                        null=True,
                    ),
                ),
                (
                    "creator",
                    models.CharField(
                        blank=True,
                        db_comment="创建人",
                        help_text="创建人",
                        max_length=64,
                        null=True,
                    ),
                ),
                (
                    "modifier",
                    models.CharField(
                        blank=True,
                        db_comment="修改人",
                        help_text="修改人",
                        max_length=64,
                        null=True,
                    ),
                ),
                (
                    "update_time",
                    models.DateTimeField(
                        auto_now=True,
                        db_comment="修改时间",
                        help_text="修改时间",
                        null=True,
                    ),
                ),
                (
                    "create_time",
                    models.DateTimeField(
                        auto_now_add=True,
                        db_comment="创建时间",
                        help_text="创建时间",
                        null=True,
                    ),
                ),
                (
                    "is_deleted",
                    models.BooleanField(db_comment="是否软删除", default=False),
                ),
                ("code", models.CharField(db_comment="岗位编码", max_length=64)),
                ("name", models.CharField(db_comment="岗位名称", max_length=50)),
                ("sort", models.IntegerField(db_comment="显示顺序", default=0)),
                ("status", models.BooleanField(db_comment="状态", default=False)),
            ],
            options={
                "verbose_name": "岗位信息表",
                "verbose_name_plural": "岗位信息表",
                "db_table": "system_post",
            },
        ),
        migrations.AlterField(
            model_name="dept",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dept",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="dept",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dept",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AlterField(
            model_name="dictdata",
            name="create_time",
            field=models.DateTimeField(
                auto_now_add=True,
                db_comment="创建时间",
                help_text="创建时间",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dictdata",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dictdata",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="dictdata",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dictdata",
            name="remark",
            field=models.CharField(
                blank=True,
                db_comment="备注",
                help_text="备注",
                max_length=256,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dictdata",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AlterField(
            model_name="dicttype",
            name="create_time",
            field=models.DateTimeField(
                auto_now_add=True,
                db_comment="创建时间",
                help_text="创建时间",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dicttype",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dicttype",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="dicttype",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dicttype",
            name="remark",
            field=models.CharField(
                blank=True,
                db_comment="备注",
                help_text="备注",
                max_length=256,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="dicttype",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AlterField(
            model_name="menu",
            name="create_time",
            field=models.DateTimeField(
                auto_now_add=True,
                db_comment="创建时间",
                help_text="创建时间",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menu",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menu",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="menu",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menu",
            name="remark",
            field=models.CharField(
                blank=True,
                db_comment="备注",
                help_text="备注",
                max_length=256,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menu",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AlterField(
            model_name="menumeta",
            name="create_time",
            field=models.DateTimeField(
                auto_now_add=True,
                db_comment="创建时间",
                help_text="创建时间",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menumeta",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menumeta",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="menumeta",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menumeta",
            name="remark",
            field=models.CharField(
                blank=True,
                db_comment="备注",
                help_text="备注",
                max_length=256,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="menumeta",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AlterField(
            model_name="role",
            name="create_time",
            field=models.DateTimeField(
                auto_now_add=True,
                db_comment="创建时间",
                help_text="创建时间",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="role",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="role",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="role",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="role",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AlterField(
            model_name="rolepermission",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="rolepermission",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="rolepermission",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="rolepermission",
            name="remark",
            field=models.CharField(
                blank=True,
                db_comment="备注",
                help_text="备注",
                max_length=256,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="rolepermission",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="create_time",
            field=models.DateTimeField(
                auto_now_add=True,
                db_comment="创建时间",
                help_text="创建时间",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="creator",
            field=models.CharField(
                blank=True,
                db_comment="创建人",
                help_text="创建人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="is_deleted",
            field=models.BooleanField(db_comment="是否软删除", default=False),
        ),
        migrations.AlterField(
            model_name="user",
            name="modifier",
            field=models.CharField(
                blank=True,
                db_comment="修改人",
                help_text="修改人",
                max_length=64,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="remark",
            field=models.CharField(
                blank=True,
                db_comment="备注",
                help_text="备注",
                max_length=256,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="user",
            name="update_time",
            field=models.DateTimeField(
                auto_now=True, db_comment="修改时间", help_text="修改时间", null=True
            ),
        ),
        migrations.AddField(
            model_name="user",
            name="post",
            field=models.ManyToManyField(
                blank=True,
                db_constraint=False,
                related_name="users",
                to="system.post",
                verbose_name="岗位",
            ),
        ),
    ]
