# Generated by Django 4.1.1 on 2022-09-18 12:07

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


class Migration(migrations.Migration):

    dependencies = [
        ('location', '0001_initial'),
        ('builder', '0002_alter_builder_builder_logo'),
        ('addons', '0001_initial'),
        ('locality', '0001_initial'),
        ('project', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Amenity',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('amenity_name', models.CharField(default=None, max_length=120)),
                ('amenity_icon', models.CharField(default=None, max_length=120)),
            ],
        ),
        migrations.CreateModel(
            name='Project',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(help_text='Type: string, Values: Enter Project Name.', max_length=114, null=True)),
                ('slug', models.SlugField(help_text='Type: string, Values: Enter Project Slug.', max_length=114, null=True, unique=True)),
                ('isFeatured', models.BooleanField(default=0, verbose_name='Check for Featured Project')),
                ('premium', models.BooleanField(default=0, verbose_name='Check for Premium Project')),
                ('status', models.BooleanField(default=1, verbose_name='Check Status Active/In-Active')),
                ('title', models.CharField(blank=True, help_text='Type: string, Default: null, Values: Project Meta Title.', max_length=165, null=True, verbose_name='Meta Title')),
                ('keyword', models.CharField(blank=True, help_text='Type: string, Default: null, Values: Project Meta Keyword.', max_length=165, null=True, verbose_name='Meta Keyword')),
                ('description', ckeditor_uploader.fields.RichTextUploadingField(blank=True, help_text='Type: string, Default: null, Values: Project Description.', null=True, verbose_name='Project Description')),
                ('paymentplan', ckeditor_uploader.fields.RichTextUploadingField(blank=True, help_text='Type: string, Default: null, Values: Project Payment Plan.', null=True, verbose_name='Payment Plan')),
                ('keyfeatures', ckeditor_uploader.fields.RichTextUploadingField(blank=True, help_text='Type: string, Default: null, Values: Project Key Features.', null=True, verbose_name='Key Features')),
                ('location_advantages', ckeditor_uploader.fields.RichTextUploadingField(blank=True, help_text='Type: string, Default: null, Values: Project Location Advantages.', null=True, verbose_name='Location Advantages')),
                ('location_image', models.ImageField(blank=True, help_text='Type: string, Default: null, Values: Upload Location Image.', max_length=255, null=True, upload_to='location_image/%Y/%m/%d')),
                ('sitemap_image', models.ImageField(blank=True, help_text='Type: string, Default: null, Values: Upload SiteMap Image.', max_length=255, null=True, upload_to='sitemap_image/%Y/%m/%d')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('amenity', models.ManyToManyField(related_name='ProjectAmenity', to='project.amenity', verbose_name='Select Project Amenity')),
                ('builder', models.ForeignKey(blank=True, help_text='Type: Int, Values: Select Builder.', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='builders', to='builder.builder', verbose_name='Select Builder')),
                ('category', models.ManyToManyField(related_name='PROJECTCATEGORY', to='project.category', verbose_name='Select Category')),
                ('city', models.ForeignKey(help_text='Type: Int, Values: Select City Name.', on_delete=django.db.models.deletion.CASCADE, related_name='propcity', to='addons.city', verbose_name='Select City')),
                ('locality', models.ForeignKey(help_text='Type: Int, Values: Select Locality Name.', on_delete=django.db.models.deletion.CASCADE, related_name='localities', to='locality.locality', verbose_name='Select Locality')),
                ('location', models.ForeignKey(help_text='Type: Int, Values: Select Location.', on_delete=django.db.models.deletion.CASCADE, related_name='proplocation', to='location.location', verbose_name='Select Location')),
            ],
            options={
                'verbose_name_plural': 'Project',
            },
        ),
        migrations.CreateModel(
            name='ProjectImages',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(blank=True, max_length=100, null=True)),
                ('project_image', models.ImageField(upload_to='project_images/%Y/%m/%d')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('project', models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='PROJECTIMAGE', to='project.project')),
            ],
        ),
        migrations.CreateModel(
            name='ProjectFloorPlan',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('floorplan_image', models.ImageField(blank=True, null=True, upload_to='floorplan_image/%Y/%m/%d')),
                ('bhk', models.CharField(blank=True, help_text='Type: String, Values: Enter Value', max_length=100, null=True)),
                ('size', models.CharField(blank=True, help_text='Type: String, Values: Enter Value', max_length=100, null=True)),
                ('price', models.CharField(blank=True, help_text='Type: String, Values: Enter Value', max_length=100, null=True)),
                ('price_persqft', models.IntegerField(blank=True, help_text='Type: String, Values: Enter Value', null=True)),
                ('booking_amount', models.CharField(blank=True, help_text='Type: String, Values: Enter Value', max_length=100, null=True)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('project', models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, related_name='PROJECTFLOORPLAN', to='project.project')),
            ],
        ),
        migrations.CreateModel(
            name='Offers',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('offer_type', models.CharField(default=None, help_text='Type:String, values: Enter Offer Type', max_length=165)),
                ('offer1', models.CharField(blank=True, help_text='Type:String, values: Enter Offer 1', max_length=165, null=True)),
                ('offer2', models.CharField(blank=True, help_text='Type:String, values: Enter Offer 2', max_length=165, null=True)),
                ('offer_ends_date', models.DateField(blank=True, null=True, verbose_name='Offer Ends Date')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('project', models.ForeignKey(default=None, help_text='Type: String, Values: Select Any Project.', on_delete=django.db.models.deletion.CASCADE, related_name='ProjectOffers', to='project.project')),
            ],
        ),
        migrations.CreateModel(
            name='Detail',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('possession', models.CharField(blank=True, choices=[('0', 'Under Construction'), ('1', 'New Launch'), ('2', 'Ready To Move')], help_text='Type: int, Values: Select Project Status', max_length=8, null=True, verbose_name='Project Possession')),
                ('minarea', models.CharField(blank=True, help_text='Type: Int, Values: Enter Minimum Area.', max_length=32, null=True, verbose_name='Minimum Area')),
                ('areaselect', models.CharField(choices=[('0', 'Sq.Ft'), ('1', 'Sq.Yards'), ('2', 'Sq.m'), ('3', 'Grounds'), ('4', 'Aankadam'), ('5', 'Rood'), ('6', 'Chataks'), ('7', 'Perch'), ('8', 'Guntha'), ('9', 'Acres'), ('10', 'Biswa'), ('11', 'Ares'), ('12', 'Bigha'), ('13', 'Kottah'), ('14', 'Hectares'), ('15', 'Marla'), ('16', 'Kanal')], default=0, help_text='Type: Int, Default:0, Values: Select One', max_length=8, verbose_name='Select Project Area')),
                ('project_area_type', models.CharField(choices=[('0', 'Sq.Ft'), ('1', 'Sq.Yards'), ('2', 'Sq.m'), ('3', 'Grounds'), ('4', 'Aankadam'), ('5', 'Rood'), ('6', 'Chataks'), ('7', 'Perch'), ('8', 'Guntha'), ('9', 'Acres'), ('10', 'Biswa'), ('11', 'Ares'), ('12', 'Bigha'), ('13', 'Kottah'), ('14', 'Hectares'), ('15', 'Marla'), ('16', 'Kanal')], default=9, help_text='Type: Int, Default: 9, Values: Select Project Area.', max_length=8, verbose_name='Total Land Area')),
                ('maxarea', models.CharField(blank=True, help_text='Type: Int, Values: Enter Maximum Area', max_length=32, null=True, verbose_name='Maximum Area')),
                ('minprice', models.IntegerField(blank=True, help_text='Type: Int, Values: Enter Minimum Price', null=True, verbose_name='Minimum Price')),
                ('maxprice', models.IntegerField(blank=True, help_text='Type: Int, Values: Enter Maximum Price', null=True, verbose_name='Maximum Price')),
                ('towers', models.IntegerField(blank=True, help_text='Type: Int, Values: Total Towers', null=True, verbose_name='Total Towers')),
                ('floors', models.IntegerField(blank=True, help_text='Type: Int, Values: Total Floors', null=True, verbose_name='Total Floors')),
                ('rera', models.CharField(blank=True, help_text='Type: String, Values: Enter Rera Number', max_length=96, null=True, verbose_name='Rera Number')),
                ('sqft_area', models.CharField(blank=True, max_length=285, null=True)),
                ('unites', models.IntegerField(blank=True, help_text='Type: Int, Values: Enter Total Project Units', null=True, verbose_name='Total Units')),
                ('total_area', models.FloatField(blank=True, help_text='Type: Int, Values: Enter Total Project Area', null=True, verbose_name='Total Area')),
                ('cheque_favour_of', models.CharField(blank=True, help_text='Type: String, Values: Enter Cheque in Favour Of', max_length=64, null=True, verbose_name='Favour Of')),
                ('available_from', models.DateField(blank=True, help_text='Type: String, Values: Enter Project Possession Date.', null=True, verbose_name='Available From')),
                ('launch_date', models.DateField(blank=True, help_text='Type: String, Values: Enter Project Launch Date.', null=True, verbose_name='Launch Date')),
                ('parking', models.CharField(choices=[('0', 'Open Parking'), ('1', 'Covered Parking')], default=0, help_text='Type: Int, Default: Open parking', max_length=8)),
                ('transaction_type', models.CharField(blank=True, choices=[('0', 'Original Booking'), ('1', 'Resale')], help_text='Type: Int, Values: Select One', max_length=8, null=True)),
                ('flooring', models.CharField(blank=True, choices=[('0', 'Marble'), ('1', 'Virtified'), ('2', 'Polished Concrete'), ('3', 'Granite'), ('4', 'Ceramic'), ('5', 'Mosaic'), ('6', 'Cement'), ('7', 'Stone'), ('8', 'Vinyl'), ('9', 'Wood'), ('10', 'Concrete'), ('11', 'Spartex'), ('12', 'IPSFinish'), ('13', 'Others')], help_text='Type: Int, Values: Select Flooring', max_length=64, null=True, verbose_name='Project Flooring')),
                ('furnishing', models.CharField(blank=True, choices=[('0', 'Un-Furnished'), ('1', 'Semi Furnished'), ('2', 'Full Furnished')], help_text='Type: Int, Values: Select Furnishing', max_length=8, null=True, verbose_name='Furnishing Type')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('project', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='project_details', to='project.project')),
            ],
        ),
    ]
