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
+19
View File
@@ -0,0 +1,19 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Ventas.Core\Ventas.Core.csproj" />
<ProjectReference Include="..\Ventas.Infrastructure\Ventas.Infrastructure.csproj" />
<ProjectReference Include="..\Ventas.Services\Ventas.Services.csproj" />
</ItemGroup>
</Project>