namespace MotoresArgentinosV2.Core.DTOs; /// /// DTO para insertar un aviso mediante el SP spInsertaAvisos /// public class InsertarAvisoDto { // Datos básicos public string Tipo { get; set; } = string.Empty; public int NroOperacion { get; set; } public int IdCliente { get; set; } public int Tipodoc { get; set; } public string NroDoc { get; set; } = string.Empty; public string Razon { get; set; } = string.Empty; // Ubicación del cliente public string Calle { get; set; } = string.Empty; public string Numero { get; set; } = string.Empty; public string Localidad { get; set; } = string.Empty; public string CodigoPostal { get; set; } = string.Empty; // Contacto public string Telefono { get; set; } = string.Empty; public string Email { get; set; } = string.Empty; // Impuestos public byte IdTipoiva { get; set; } public decimal PorcentajeIva1 { get; set; } public decimal PorcentajeIva2 { get; set; } public decimal PorcentajePercepcion { get; set; } // Datos del aviso public byte IdTipoaviso { get; set; } public string Nombreaviso { get; set; } = string.Empty; public short IdRubro { get; set; } public byte IdSubrubro { get; set; } public byte IdCombinado { get; set; } public decimal PorcentajeCombinado { get; set; } // Publicación public DateTime FechaInicio { get; set; } public byte CantDias { get; set; } public bool DiasCorridos { get; set; } public byte Palabras { get; set; } public decimal Centimetros { get; set; } public byte Columnas { get; set; } // Pago public byte IdTarjeta { get; set; } public string NroTarjeta { get; set; } = string.Empty; public int CvcTarjeta { get; set; } public DateTime Vencimiento { get; set; } // Dirección de envío (si aplica) public string CalleEnvio { get; set; } = string.Empty; public string NumeroEnvio { get; set; } = string.Empty; public string LocalidadEnvio { get; set; } = string.Empty; // Importes public decimal Tarifa { get; set; } public decimal ImporteAviso { get; set; } public decimal ImporteIva1 { get; set; } public decimal ImporteIva2 { get; set; } public decimal ImportePercepcion { get; set; } // Extras public int Cantavi { get; set; } = 1; public int Paquete { get; set; } = 0; public bool Destacado { get; set; } = false; }