# Generated by Django 4.1.4 on 2023-07-18 10:48

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


class Migration(migrations.Migration):

    dependencies = [
        ('customer_api', '0111_investmentmycompany_price_per_share'),
    ]

    operations = [
        migrations.CreateModel(
            name='MyInvestmentsForCompany',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('total_share', models.IntegerField(null=True)),
                ('amount', models.IntegerField(null=True)),
                ('payment_status', models.CharField(default='pending', max_length=100, null=True)),
                ('start_date', models.DateTimeField(auto_now_add=True, null=True)),
                ('end_date', models.DateTimeField(null=True)),
                ('customerId', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='customer_api.customer')),
                ('invested_company', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='customer_api.investmentmycompany')),
            ],
            options={
                'db_table': 'my_investment_for_company',
            },
        ),
    ]
