57 lines
3.8 KiB
Python
57 lines
3.8 KiB
Python
# Generated by Django 5.2.7 on 2026-07-03 19:19
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='PilotCall',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('client_name', models.CharField(max_length=140)),
|
|
('phone', models.CharField(max_length=40)),
|
|
('email', models.EmailField(blank=True, max_length=254)),
|
|
('call_source', models.CharField(choices=[('ytel', 'Ytel'), ('ringcentral', 'RingCentral fallback'), ('manual', 'Manual/recording test')], default='ytel', max_length=24)),
|
|
('ytel_audio_status', models.CharField(choices=[('unconfirmed', 'Not confirmed'), ('available', 'Available'), ('blocked', 'Blocked / not exposed'), ('partner', 'Needs enterprise/partner access')], default='unconfirmed', max_length=24)),
|
|
('logics_api_status', models.CharField(choices=[('unconfirmed', 'Not confirmed'), ('available', 'Available'), ('blocked', 'Blocked / not exposed'), ('partner', 'Needs enterprise/partner access')], default='unconfirmed', max_length=24)),
|
|
('transcript', models.TextField(help_text='Paste a live transcript segment or recorded-call transcript for the pilot.')),
|
|
('irs_debt', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('state_debt', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('tax_years', models.CharField(blank=True, max_length=120)),
|
|
('filing_status', models.CharField(blank=True, max_length=80)),
|
|
('employment_type', models.CharField(blank=True, max_length=120)),
|
|
('occupation', models.CharField(blank=True, max_length=120)),
|
|
('monthly_gross_income', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('spouse_income', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('mortgage', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('rent', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('utilities', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('car_payment', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('insurance', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('student_loans', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('credit_cards', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('assets', models.TextField(blank=True)),
|
|
('business_expenses', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)),
|
|
('irs_payment_plan', models.BooleanField(default=False)),
|
|
('levy', models.BooleanField(default=False)),
|
|
('garnishment', models.BooleanField(default=False)),
|
|
('best_callback_time', models.CharField(blank=True, max_length=120)),
|
|
('agent_notes', models.TextField(blank=True)),
|
|
('created_at', models.DateTimeField(auto_now_add=True)),
|
|
('updated_at', models.DateTimeField(auto_now=True)),
|
|
],
|
|
options={
|
|
'verbose_name': 'pilot call',
|
|
'verbose_name_plural': 'pilot calls',
|
|
'ordering': ['-created_at'],
|
|
},
|
|
),
|
|
]
|