# Generated by Django 5.2.11 on 2026-04-24 14:41

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


class Migration(migrations.Migration):

    dependencies = [
        ('rental_app', '0008_alter_rentalowner_can_submit_listings_and_more'),
    ]

    operations = [
        migrations.CreateModel(
            name='RentalOwnerBankingDetails',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('account_holder_name', models.CharField(max_length=200)),
                ('bank_name', models.CharField(max_length=200)),
                ('branch_name', models.CharField(blank=True, max_length=200)),
                ('account_number', models.CharField(max_length=100)),
                ('iban', models.CharField(blank=True, max_length=100)),
                ('swift_code', models.CharField(blank=True, max_length=50)),
                ('bank_country', models.CharField(blank=True, max_length=120)),
                ('bank_address', models.TextField(blank=True)),
                ('payment_notes', models.TextField(blank=True, help_text='Optional notes for transfers, preferred payout instructions, or additional details.')),
                ('is_verified', models.BooleanField(default=False)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('updated_at', models.DateTimeField(auto_now=True)),
                ('owner', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='banking_details', to='rental_app.rentalowner')),
            ],
            options={
                'verbose_name': 'Rental Owner Banking Details',
                'verbose_name_plural': 'Rental Owner Banking Details',
            },
        ),
    ]
