# Generated by Django 3.2.9 on 2022-08-17 05:48

from django.conf import settings
import django.contrib.gis.db.models.fields
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('rog', '0020_auto_20220816_1627'),
    ]

    operations = [
        migrations.CreateModel(
            name='templocation',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('location_id', models.IntegerField(blank=True, null=True, verbose_name='Location id')),
                ('sub_loc_id', models.IntegerField(blank=True, null=True, verbose_name='Sub location id')),
                ('cp', models.FloatField(blank=True, null=True, verbose_name='Check Point')),
                ('location_name', models.CharField(default='--- 場所をお願いします --', max_length=2048, verbose_name='Location Name')),
                ('category', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Category')),
                ('subcategory', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Sub Category')),
                ('zip', models.CharField(blank=True, max_length=12, null=True, verbose_name='Zip code')),
                ('address', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Address')),
                ('prefecture', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Prefecture')),
                ('area', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Area')),
                ('city', models.CharField(blank=True, max_length=2048, null=True, verbose_name='City')),
                ('latitude', models.FloatField(blank=True, null=True, verbose_name='Latitude')),
                ('longitude', models.FloatField(blank=True, null=True, verbose_name='Latitude')),
                ('photos', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Photos')),
                ('videos', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Videos')),
                ('webcontents', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Web Content')),
                ('status', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Status')),
                ('portal', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Portal')),
                ('group', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Group')),
                ('phone', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Phone')),
                ('fax', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Fax')),
                ('email', models.EmailField(blank=True, max_length=2048, null=True, verbose_name='Email')),
                ('facility', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Facility')),
                ('remark', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Remarks')),
                ('tags', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Tags')),
                ('event_name', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Event name')),
                ('event_active', models.BooleanField(default=True, verbose_name='Is Event active')),
                ('hidden_location', models.BooleanField(default=False, verbose_name='Is Hidden Location')),
                ('auto_checkin', models.BooleanField(default=False, verbose_name='Is AutoCheckin')),
                ('checkin_radius', models.FloatField(blank=True, default=15.0, null=True, verbose_name='Checkin radious')),
                ('checkin_point', models.FloatField(blank=True, default=10, null=True, verbose_name='Checkin Point')),
                ('buy_point', models.FloatField(blank=True, default=0, null=True, verbose_name='buy Point')),
                ('evaluation_value', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Evaluation value (評価)')),
                ('shop_closed', models.BooleanField(default=False, verbose_name='Shop Closed (休業)')),
                ('shop_shutdown', models.BooleanField(default=False, verbose_name='Shop Shutdown (閉業)')),
                ('opening_hours_mon', models.CharField(blank=True, max_length=512, null=True, verbose_name='Opening hours monday (月曜)')),
                ('opening_hours_tue', models.CharField(blank=True, max_length=512, null=True, verbose_name='Opening hours tuesday (火曜)')),
                ('opening_hours_wed', models.CharField(blank=True, max_length=512, null=True, verbose_name='Opening hours wednesday (水曜)')),
                ('opening_hours_thu', models.CharField(blank=True, max_length=512, null=True, verbose_name='Opening hours thursday (木曜)')),
                ('opening_hours_fri', models.CharField(blank=True, max_length=512, null=True, verbose_name='Opening hours frinday (金曜)')),
                ('opening_hours_sat', models.CharField(blank=True, max_length=512, null=True, verbose_name='Opening hours saturday (土曜)')),
                ('opening_hours_sun', models.CharField(blank=True, max_length=512, null=True, verbose_name='Opening hours sunday (日曜)')),
                ('parammeters', models.CharField(blank=True, max_length=2048, null=True, verbose_name='Parameters')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('last_updated_at', models.DateTimeField(auto_now=True)),
                ('geom', django.contrib.gis.db.models.fields.MultiPointField(srid=4326)),
                ('last_updated_user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, related_name='temp_location_updated_user', to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
