# Generated by Django 3.2.6 on 2022-04-23 00:14

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


class Migration(migrations.Migration):

    dependencies = [
        ('Maintenance', '0001_initial'),
        ('Process', '0007_auto_20211228_0054'),
    ]

    operations = [
        migrations.CreateModel(
            name='VentaDolarSt',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('id_cliente', models.IntegerField(default=0)),
                ('tipo_persona_cliente', models.CharField(blank=True, max_length=10, null=True, verbose_name='Tipo Persona:')),
                ('dni_ruc_cliente', models.CharField(blank=True, max_length=11, null=True, verbose_name='DNI:')),
                ('nombre_razon_cliente', models.CharField(blank=True, max_length=100, null=True, verbose_name='Nombres:')),
                ('Apellido_paterno_cliente', models.CharField(blank=True, max_length=200, null=True, verbose_name='Apellido Paterno:')),
                ('Apellido_materno_cliente', models.CharField(blank=True, max_length=200, null=True, verbose_name='Apellido Materno:')),
                ('observaciones', models.CharField(max_length=100, null=True, verbose_name='Observaciones:')),
                ('tipo_cambio_venta', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('monto_dolar_vendido', models.DecimalField(decimal_places=2, max_digits=15)),
                ('monto_soles_cobrado', models.DecimalField(decimal_places=2, max_digits=15)),
                ('aux1', models.CharField(max_length=30, null=True, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, null=True, verbose_name='aux2:')),
                ('idCajaDebe', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Maintenance.tcajadebe', verbose_name='ID Caja Debe')),
                ('idCajaHaber', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Maintenance.tcajahaber', verbose_name='ID Caja Haber:')),
            ],
            options={
                'verbose_name': 'Ventas de Dolar ST',
                'verbose_name_plural': 'Venta de Dolar ST',
                'ordering': ['id'],
            },
        ),
        migrations.CreateModel(
            name='CompraDolarSt',
            fields=[
                ('id', models.AutoField(primary_key=True, serialize=False, verbose_name='ID:')),
                ('fecha', models.DateTimeField(auto_now=True, verbose_name='Fecha:')),
                ('id_cliente', models.IntegerField(default=0)),
                ('tipo_persona_cliente', models.CharField(blank=True, max_length=10, null=True, verbose_name='Tipo Persona:')),
                ('dni_ruc_cliente', models.CharField(blank=True, max_length=11, null=True, verbose_name='DNI:')),
                ('nombre_razon_cliente', models.CharField(blank=True, max_length=100, null=True, verbose_name='Nombres:')),
                ('Apellido_paterno_cliente', models.CharField(blank=True, max_length=200, null=True, verbose_name='Apellido Paterno:')),
                ('Apellido_materno_cliente', models.CharField(blank=True, max_length=200, null=True, verbose_name='Apellido Materno:')),
                ('observaciones', models.CharField(max_length=100, null=True, verbose_name='Observaciones:')),
                ('tipo_cambio_compra', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('monto_dolar_comprado', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('monto_soles_pagado', models.DecimalField(decimal_places=2, default=0, max_digits=15)),
                ('aux1', models.CharField(max_length=30, null=True, verbose_name='aux1:')),
                ('aux2', models.CharField(max_length=15, null=True, verbose_name='aux2:')),
                ('idCajaDebe', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Maintenance.tcajadebe', verbose_name='ID Caja Debe')),
                ('idCajaHaber', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='Maintenance.tcajahaber', verbose_name='ID Caja Haber:')),
            ],
            options={
                'verbose_name': 'Compras de Dolar ST',
                'verbose_name_plural': 'Compra de Dolar ST',
                'ordering': ['id'],
            },
        ),
    ]
