Commit Graph

12 Commits

Author SHA1 Message Date
cernont 6c1330e570 Fix FastEndpoints/Swagger wiring and missing required fields in DTOs
- Register FastEndpoints, SwaggerDocument, DbContext in Program.cs
- Add DbContextOptions constructor to PyroFetesDbContext
- Add CityId to Show DTOs and endpoints (NOT NULL in DB)
- Add F4T2NumberApproval/F4T2ExpirationDate to Staff DTOs and endpoints
- Simplify DeleteShow to rely on DB cascade instead of manual includes
- Default NOT NULL string fields to empty string on create

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 19:35:01 +02:00
cernont 5c12a45ae6 finalisation des endpoints 2025-11-13 15:11:12 +01:00
sanchezvem e4677b1aea Migration added and updated 2025-10-08 11:38:42 +01:00
sanchezvem 89be35ecb0 Fixed all relationship and write errors in all entities 2025-10-07 23:28:16 +01:00
sanchezvem 9a5c83161a Exucuting migrations commands 2025-10-07 11:42:04 +02:00
sanchezvem 41b0f1892e Writing relations into customer and contact 2025-10-07 11:37:51 +02:00
sanchezvem 2bbb771635 Writing OnModelCreating in PyroFetesDbContext.cs 2025-10-07 11:00:35 +02:00
sanchezvem 1446fe7b95 Error during migration 2025-10-07 10:20:52 +02:00
sanchezvem 5261446ddb Fix comments in PyroFetesDbContext.cs 2025-10-07 10:04:55 +02:00
sanchezvem fa353446eb Writing OnModelCreating in PyroFetesDbContext.cs. 2025-10-06 19:35:34 +01:00
sanchezvem 5419ca5aa9 Creating all entities in DbSet 2025-10-03 17:24:31 +01:00
sanchezvem cd0e4e6431 Creating DbContext and Models repository 2025-09-26 11:09:00 +02:00