intégration de la base de donnée commune

This commit is contained in:
2025-10-09 15:40:48 +02:00
parent 946237aaa3
commit c6ce3c658f
67 changed files with 6122 additions and 150 deletions

14
PF3/Models/ShowTruck.cs Normal file
View File

@@ -0,0 +1,14 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace PyroFetes.Models;
[PrimaryKey(nameof(ShowId), nameof(TruckId))]
public class ShowTruck
{
public Show? Show { get; set; }
[Required] public int ShowId { get; set; }
public Truck? Truck { get; set; }
[Required] public int TruckId { get; set; }
}