Init Commit

This commit is contained in:
2026-01-29 13:43:44 -03:00
commit b9aa8478db
126 changed files with 20649 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
namespace MotoresArgentinosV2.MigrationTool.Models;
public class LegacyAdData
{
public int Auto_Id { get; set; }
public string EmailVendedor { get; set; } = string.Empty;
public string Marca_Detalle { get; set; } = string.Empty;
public string Modelo_Detalle { get; set; } = string.Empty;
public string Auto_Version { get; set; } = string.Empty;
public string Año_Detalle { get; set; } = string.Empty;
public decimal Auto_precio { get; set; }
public string Mone_Detalle { get; set; } = string.Empty;
public int Auto_Kilometros { get; set; }
public string Descripcion { get; set; } = string.Empty;
public string Comb_Detalle { get; set; } = string.Empty;
public string Color_detalle { get; set; } = string.Empty;
public string Carroceria_Nombre { get; set; } = string.Empty;
public int PapelesAlDia { get; set; }
public string Part_Telefono { get; set; } = string.Empty;
public string Part_Celular { get; set; } = string.Empty;
public int Auto_Cant_Visitas { get; set; }
public DateTime Auto_Fecha_Publicacion { get; set; }
}
public class LegacyAdPhoto
{
public int Foto_Id { get; set; }
public int Foto_Auto_Id { get; set; }
public string Foto_Ruta { get; set; } = string.Empty;
}

View File

@@ -0,0 +1,33 @@
// Backend/MotoresArgentinosV2.MigrationTool/Models/LegacyMotoData.cs
namespace MotoresArgentinosV2.MigrationTool.Models;
public class LegacyMotoData
{
public int Moto_Id { get; set; }
public DateTime Moto_Fecha_Publicacion { get; set; }
public int Moto_Cant_Visitas { get; set; }
public string EmailVendedor { get; set; } = string.Empty;
public string Marca_Detalle { get; set; } = string.Empty;
public string Modelo_Detalle { get; set; } = string.Empty;
public string Año_Detalle { get; set; } = string.Empty;
public decimal Moto_Precio { get; set; }
public string Mone_Detalle { get; set; } = string.Empty;
public int Moto_Kilometraje { get; set; }
public string Descripcion { get; set; } = string.Empty;
public string Moto_Cilindrada { get; set; } = string.Empty;
public int Moto_Tipo_Cuatri_Id { get; set; } // > 0 es Cuatriciclo
public string Part_Telefono { get; set; } = string.Empty;
public string Part_Celular { get; set; } = string.Empty;
}
public class LegacyMotoPhoto
{
public int Foto_Id { get; set; }
public int Foto_Moto_Id { get; set; }
public string Foto_Ruta { get; set; } = string.Empty;
}