feat: core entities, infrastructure, and lead repositories

- 25 domain entities mapped from original Datos/ classes
- 4 enums (EstadoLead, TipoPago, TipoDocumento, TipoDescuento)
- DTOs for Lead, Auth flows
- 6 repository interfaces
- VentasDbContext with EF Core + Npgsql
- LeadRepository (command SPs) and LeadQueryRepository (query SPs) with Dapper
- Program.cs with JWT auth, CORS, DI setup
- appsettings.json with connection string
- .gitignore for bin/obj/node_modules
- ROADMAP.md for daily progress tracking
This commit is contained in:
2026-07-07 17:45:49 -04:00
commit 3d5419403d
54 changed files with 2424 additions and 0 deletions
@@ -0,0 +1,9 @@
namespace Ventas.Core.Entities;
public class Programa
{
public int Id { get; set; }
public string Nombre { get; set; } = string.Empty;
public string? Tipo { get; set; }
public bool? Activo { get; set; }
}