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

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = []

    operations = [
        migrations.CreateModel(
            name="JobContactInformation",
            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)),
                ("first_name", models.CharField(max_length=100)),
                ("last_name", models.CharField(max_length=100)),
                ("contact", models.CharField(max_length=15)),
                ("message", models.TextField()),
                ("email", models.EmailField(max_length=254)),
                ("district", models.CharField(max_length=50)),
            ],
            options={
                "abstract": False,
            },
        ),
        migrations.CreateModel(
            name="JobReview",
            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)),
                (
                    "review_star",
                    models.PositiveIntegerField(
                        blank=True,
                        validators=[
                            django.core.validators.MinValueValidator(1),
                            django.core.validators.MaxValueValidator(5),
                        ],
                    ),
                ),
                ("message", models.TextField()),
                (
                    "review_image",
                    models.ImageField(
                        blank=True, null=True, upload_to="review_images/job"
                    ),
                ),
                ("is_flagged_review", models.BooleanField(blank=True, default=False)),
            ],
            options={
                "verbose_name_plural": "job_reviews",
                "ordering": ["-created_at"],
            },
        ),
        migrations.CreateModel(
            name="Jobs",
            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)),
                ("country", models.CharField(blank=True, max_length=255, null=True)),
                ("state", models.CharField(blank=True, max_length=255, null=True)),
                ("title", models.CharField(max_length=100)),
                (
                    "type",
                    models.IntegerField(
                        choices=[(1, "Full Time"), (2, "Part Time"), (3, "Internship")]
                    ),
                ),
                ("salary_min", models.PositiveIntegerField()),
                ("salary_max", models.PositiveIntegerField()),
                ("location", models.CharField(max_length=50)),
                ("is_featured", models.BooleanField()),
                ("description", models.TextField()),
                ("requirements", models.TextField()),
                ("desirable", models.TextField()),
                ("benefits", models.TextField()),
                ("icon_url", models.ImageField(upload_to="jobs")),
                ("caption", models.CharField(blank=True, default=None, max_length=50)),
                ("is_flag", models.BooleanField(default=False)),
                (
                    "contact_number",
                    models.CharField(blank=True, max_length=15, null=True),
                ),
            ],
            options={
                "verbose_name_plural": "job_company_gallery",
                "ordering": ["id"],
            },
        ),
    ]
