création CreateShowEndpoint.cs et rectification quelque chemin

This commit is contained in:
2025-10-09 15:55:00 +02:00
parent c6ce3c658f
commit 139e849e41
62 changed files with 193 additions and 69 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace PF3.Models;
[PrimaryKey(nameof(ShowId), nameof(SoundId))]
public class SoundTimecode
{
[Required] public int ShowId { get; set; }
public Show? Show { get; set; }
[Required] public int SoundId { get; set; }
public Sound? Sound { get; set; }
[Required] public decimal Start { get; set; }
[Required] public decimal End { get; set; }
}