# Generated by Django 4.2.2 on 2023-11-12 20:20

import ckeditor.fields
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('baseapp', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='static_page',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('heading', models.CharField(help_text='Enter the Head content', max_length=150, null=True, verbose_name='Heading')),
                ('content_HTML', ckeditor.fields.RichTextField(help_text='Enter the Body content', null=True, verbose_name='Content')),
                ('uid', models.CharField(help_text='Unique ID for every model add and table view', max_length=50, null=True, verbose_name='UID')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
            ],
            options={
                'verbose_name_plural': 'Static Page',
            },
        ),
        migrations.CreateModel(
            name='notification',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('header', models.CharField(help_text='Enter the Head content', max_length=250, null=True, verbose_name='Header')),
                ('body', ckeditor.fields.RichTextField(help_text='Enter the Body content', max_length=250, null=True, verbose_name='Body')),
                ('type', models.CharField(choices=[('primary', 'primary'), ('secondary', 'secondary'), ('success', 'success'), ('warning', 'warning'), ('info', 'info'), ('danger', 'danger'), ('dark', 'dark')], help_text='Select a Color of the content(Bootstrap colors)', max_length=55, null=True, verbose_name='Type')),
                ('exp_date', models.DateTimeField(default=django.utils.timezone.now, help_text='Notification visible until this time', verbose_name='Expiry Date')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
            ],
            options={
                'verbose_name_plural': 'Notifications',
            },
        ),
        migrations.CreateModel(
            name='instruction',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('heading', models.CharField(help_text='Enter the Head content', max_length=150, null=True, verbose_name='Heading')),
                ('content_HTML', ckeditor.fields.RichTextField(help_text='Enter the Body content', null=True, verbose_name='Content')),
                ('uid', models.CharField(help_text='Unique ID for every model add and table view', max_length=50, null=True, unique=True, verbose_name='UID')),
                ('date_modified', models.DateTimeField(default=django.utils.timezone.now)),
                ('date_created', models.DateTimeField(auto_now_add=True, null=True)),
                ('fk_employee', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='baseapp.employee')),
            ],
            options={
                'verbose_name_plural': 'Help',
            },
        ),
    ]
