# -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2017-01-02 01:36
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('Product_manage', '0001_initial'),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('Inquiry_manage', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='quotation',
            name='product',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='quotation', to='Product_manage.Product'),
        ),
        migrations.AddField(
            model_name='inquiry_item',
            name='created_by',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inquiry_manage_inquiry_item_created', to=settings.AUTH_USER_MODEL, verbose_name='\u521b\u5efa\u4eba'),
        ),
        migrations.AddField(
            model_name='inquiry_item',
            name='handler',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='handle_inquiries', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AddField(
            model_name='inquiry_item',
            name='inquiry',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Inquiry_manage.Inquiry'),
        ),
        migrations.AddField(
            model_name='inquiry_item',
            name='modified_by',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inquiry_manage_inquiry_item_modified', to=settings.AUTH_USER_MODEL, verbose_name='\u4fee\u6539\u4eba'),
        ),
        migrations.AddField(
            model_name='inquiry',
            name='created_by',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inquiry_manage_inquiry_created', to=settings.AUTH_USER_MODEL, verbose_name='\u521b\u5efa\u4eba'),
        ),
        migrations.AddField(
            model_name='inquiry',
            name='modified_by',
            field=models.ForeignKey(blank=True, default=None, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='inquiry_manage_inquiry_modified', to=settings.AUTH_USER_MODEL, verbose_name='\u4fee\u6539\u4eba'),
        ),
        migrations.AddField(
            model_name='inquiry',
            name='sales',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='inquiries', to=settings.AUTH_USER_MODEL),
        ),
    ]
