# Generated by Django 5.1.10 on 2025-08-15 03:21

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


class Migration(migrations.Migration):

    dependencies = [
        ("core", "0024_centurionaudit_centurionmodelnote_and_more"),
        ("human_resources", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="EmployeeAuditHistory",
            fields=[
                (
                    "centurionaudit_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="core.centurionaudit",
                    ),
                ),
                (
                    "model",
                    models.ForeignKey(
                        help_text="Model this history belongs to",
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="+",
                        to="human_resources.employee",
                        verbose_name="Model",
                    ),
                ),
            ],
            options={
                "verbose_name": "Employee History",
                "verbose_name_plural": "Employee Histories",
                "db_table": "human_resources_employee_audithistory",
                "managed": True,
            },
            bases=("core.centurionaudit",),
        ),
        migrations.CreateModel(
            name="EmployeeCenturionModelNote",
            fields=[
                (
                    "centurionmodelnote_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="core.centurionmodelnote",
                    ),
                ),
                (
                    "model",
                    models.ForeignKey(
                        help_text="Model this note belongs to",
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="+",
                        to="human_resources.employee",
                        verbose_name="Model",
                    ),
                ),
            ],
            options={
                "verbose_name": "Employee Note",
                "verbose_name_plural": "Employee Notes",
                "db_table": "human_resources_employee_centurionmodelnote",
                "managed": True,
            },
            bases=("core.centurionmodelnote",),
        ),
    ]
