# Generated by Django 4.2.7 on 2026-04-05 16:25

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


class Migration(migrations.Migration):

    dependencies = [
        ('influencers', '0006_influencerprofile_avg_comments_and_more'),
        ('businesses', '0002_businessprofile_ai_predicted_niche_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='CollaborationRequest',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.CharField(choices=[('PENDING', 'Pending'), ('ACCEPTED', 'Accepted'), ('REJECTED', 'Rejected')], db_index=True, default='PENDING', max_length=10)),
                ('message', models.TextField(blank=True, help_text='Message from business describing the collaboration opportunity')),
                ('campaign_description', models.TextField(blank=True, help_text='Description of the campaign or project')),
                ('budget_offer', models.DecimalField(blank=True, decimal_places=2, help_text='Budget offered for this collaboration', max_digits=10, null=True)),
                ('response_message', models.TextField(blank=True, help_text='Response message from the influencer')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('business', models.ForeignKey(help_text='Business that initiated the collaboration', on_delete=django.db.models.deletion.CASCADE, related_name='collaboration_requests', to='businesses.businessprofile')),
                ('influencer', models.ForeignKey(help_text='Influencer receiving the collaboration request', on_delete=django.db.models.deletion.CASCADE, related_name='collaboration_requests', to='influencers.influencerprofile')),
            ],
            options={
                'verbose_name': 'Collaboration Request',
                'verbose_name_plural': 'Collaboration Requests',
                'ordering': ['-created_at'],
            },
        ),
    ]
