# Generated by Django 6.0 on 2025-12-21 20:24

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name="Gonggao",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                (
                    "leixing",
                    models.IntegerField(blank=True, null=True, verbose_name="公告类型"),
                ),
                (
                    "create_time",
                    models.DateTimeField(auto_now_add=True, verbose_name="创建时间"),
                ),
                (
                    "update_time",
                    models.DateTimeField(auto_now=True, verbose_name="更改时间"),
                ),
                (
                    "jieshao",
                    models.TextField(blank=True, null=True, verbose_name="公告介绍"),
                ),
            ],
            options={
                "verbose_name": "公告",
                "verbose_name_plural": "公告",
                "db_table": "gonggao",
            },
        ),
        migrations.CreateModel(
            name="Lunbo",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                (
                    "tupian_url",
                    models.CharField(
                        blank=True,
                        max_length=500,
                        null=True,
                        verbose_name="轮播图片URL",
                    ),
                ),
                (
                    "leixing",
                    models.IntegerField(
                        blank=True,
                        null=True,
                        verbose_name="图片类型:1：轮播2：个人中心背景",
                    ),
                ),
                (
                    "create_time",
                    models.DateTimeField(auto_now_add=True, verbose_name="创建时间"),
                ),
                (
                    "update_time",
                    models.DateTimeField(auto_now=True, verbose_name="更改时间"),
                ),
            ],
            options={
                "verbose_name": "轮播",
                "verbose_name_plural": "轮播",
                "db_table": "lunbo",
            },
        ),
    ]
