# Generated by Django 5.2 on 2026-04-26 10:36

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


class Migration(migrations.Migration):

    initial = True

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

    operations = [
        migrations.CreateModel(
            name="CompanyPerks",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("is_active", models.BooleanField(default=True)),
                ("created_at", models.DateTimeField(auto_now_add=True)),
                ("updated_at", models.DateTimeField(auto_now=True)),
                ("title", models.CharField(max_length=100)),
                ("description", models.TextField()),
                ("icon_url", models.ImageField(upload_to="job_company_perks")),
                (
                    "company",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="perks_of_company",
                        to="job_companies.jobcompanies",
                    ),
                ),
            ],
            options={
                "verbose_name_plural": "job_company_perks",
                "ordering": ["id"],
            },
        ),
    ]
