# Generated by Django 5.1.7 on 2025-03-29 05:42

from decimal import Decimal
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Salary',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('month', models.CharField(choices=[(1, 'حمل'), (2, 'ثور'), (3, 'جوزا'), (4, 'سرطان'), (5, 'اسد'), (6, 'سنبله'), (7, 'میزان'), (8, 'عقرب'), (9, 'قوس'), (10, 'جدی'), (11, 'دلو'), (12, 'حوت')], max_length=250, verbose_name='Time')),
                ('year', models.CharField(max_length=255)),
                ('total', models.DecimalField(decimal_places=2, default=Decimal('0.00'), max_digits=10, verbose_name='Total')),
                ('customers_list', models.JSONField(default=dict)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.CreateModel(
            name='Staff',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=250, verbose_name='Name')),
                ('father_name', models.CharField(max_length=250, verbose_name='Father Name')),
                ('nic', models.IntegerField(verbose_name='NIC')),
                ('photo', models.ImageField(upload_to='staff/images')),
                ('address', models.CharField(max_length=250, verbose_name='Address')),
                ('position', models.CharField(choices=[('Gard', 'Gard'), ('Cleaner', 'Cleaner'), ('Electrical', 'Electrical'), ('Manager', 'Manager'), ('Cooker', 'Cooker'), ('Other', 'Other')], max_length=250, verbose_name='Position')),
                ('salary', models.DecimalField(decimal_places=2, default=0.0, max_digits=12)),
                ('status', models.CharField(choices=[('Active', 'Active'), ('Inactive', 'Inactive')], max_length=250, verbose_name='Status')),
            ],
        ),
    ]
