cernont
71b7a53e59
Migrate Show.Date from DateOnly to DateTime to support time of day
...
Removes DateOnly/DateTime conversion boilerplate from all Show endpoints
and adds the corresponding EF Core migration.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-02 18:01:12 +02:00
cernont
b3612f5bec
Remove /api prefix from all routes and fix CityId FK constraint
...
- Strip /api prefix from all endpoint routes
- Make Show.CityId nullable (no longer required FK)
- Drop CityId FK constraint and alter column to NULL at startup via raw SQL
- Add migration MakeCityIdNullable for schema consistency
- Update Show DTOs to reflect nullable CityId
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-27 20:32:55 +02:00
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
3a09bfc8ad
Finalisation endpoints
2025-11-13 15:11:34 +01:00
cernont
5c12a45ae6
finalisation des endpoints
2025-11-13 15:11:12 +01:00
cernont
55f92ad761
initalisation
2025-11-13 14:13:26 +01:00
sanchezvem
e4677b1aea
Migration added and updated
2025-10-08 11:38:42 +01:00
sanchezvem
268230daea
Fix
2025-10-08 11:20:11 +01:00
sanchezvem
ad9c8aa42d
Fix in ContactServiceProvider.cs
2025-10-08 11:15:25 +01:00
sanchezvem
af208c152b
Correcting all
2025-10-08 11:13:37 +01:00
sanchezvem
0ddf5d380a
Correcting all errors of types, writed, and entities.
2025-10-08 11:10:27 +01:00
sanchezvem
af92cdc524
Correcting all type and relations in all entities
2025-10-08 00:03:52 +01:00
sanchezvem
856d8e2733
Correction de toutes les erreurs de relations et d'écritures dans tous
2025-10-07 23:46:57 +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
cfa2d59c0d
Fix french comments
2025-10-07 10:01:41 +02:00
sanchezvem
fa353446eb
Writing OnModelCreating in PyroFetesDbContext.cs.
2025-10-06 19:35:34 +01:00
sanchezvem
f4da74e9e2
Idem
2025-10-06 19:29:45 +01:00
sanchezvem
df3b820dea
Correcting relations into Movement and Warehouse.
2025-10-06 19:23:20 +01:00
sanchezvem
2d73830c5a
Add MinimalQuantity in Product.cs
2025-10-03 17:41:17 +01:00
sanchezvem
5419ca5aa9
Creating all entities in DbSet
2025-10-03 17:24:31 +01:00
sanchezvem
03db82ed49
Merge branch 'feature/subject4' into develop
2025-10-03 16:58:53 +01:00
sanchezvem
65725922f6
Delete Staff.cs
2025-10-03 16:58:36 +01:00
sanchezvem
c128cd453d
Add F4T2NumberApproval and F4T2ExpirationDate in Staff.css
2025-10-03 16:57:23 +01:00
sanchezvem
52521908b7
Change type of date parameters (string => DateOnly)
2025-10-03 16:53:18 +01:00
sanchezvem
3f1880b702
Merge branch 'feature/Subject3' into develop
2025-10-03 14:54:52 +01:00
sanchezvem
df919bf943
Correcting Entities
2025-10-03 14:54:25 +01:00
sanchezvem
da0f5fb513
Correcting an error in using EF
2025-10-03 14:46:34 +01:00
sanchezvem
8be7169995
Merge branch 'feature/Sujet1' into develop
2025-10-03 14:44:25 +01:00
sanchezvem
2781f1e80a
Change namespace
2025-10-03 14:44:12 +01:00
sanchezvem
c4e8b0b2de
Deleting Product.cs
2025-10-03 14:42:08 +01:00
sanchezvem
f163aa5feb
Correcting type error in all string properties
2025-10-03 14:37:27 +01:00
sanchezvem
4cb501fe04
Correcting errors on Entities
2025-10-03 14:35:31 +01:00
norguete
9da75d53b9
Actualiser PyroFetes/Models/Movement.cs
2025-10-02 17:37:52 +02:00
carteronm
da468f2853
Project4 Adding entities
2025-10-02 17:11:00 +02:00
cernont
6bb86c0ce9
Actualiser PyroFetes/Models/Show.cs
2025-10-02 15:19:38 +02:00
cernont
788ad93327
Actualiser PyroFetes/Models/Truck.cs
2025-10-02 15:01:46 +02:00
cernont
2bbb6c6e78
Actualiser PyroFetes/Models/Staff.cs
2025-10-02 15:01:30 +02:00
cernont
c0ee31f4a7
Actualiser PyroFetes/Models/Sound.cs
2025-10-02 15:00:58 +02:00
cernont
bb02df6323
Actualiser PyroFetes/Models/Show.cs
2025-10-02 15:00:09 +02:00
cernont
21d3480b19
Entité du sujet 3 avec connections et cardinalités
2025-10-02 14:53:55 +02:00
reignem
964faa0b6b
Ajout des Key et Required
2025-10-02 14:43:34 +02:00
reignem
423f4c4a6c
Ajout du Modèle du sujet 1
2025-10-02 14:30:54 +02:00
sanchezvem
8416f5af82
Fixed an error in Supplier.cs
2025-09-27 14:07:11 +01:00
sanchezvem
a8a6aa4094
Creating of Product entities to resolve error in 4 files.
2025-09-26 16:31:00 +01:00
sanchezvem
d3a8ae593e
Delete Models for an error
2025-09-26 16:20:55 +01:00