Correcting Entities

This commit is contained in:
2025-10-03 14:54:25 +01:00
parent 6bb86c0ce9
commit df919bf943
6 changed files with 31 additions and 84 deletions

View File

@@ -5,18 +5,10 @@ namespace PyroFetes.Models;
public class SoundTimecode
{
[Key] public int Id { get; set; }
[Required]
public int ShowId { get; set; }
[Required] public int ShowId { get; set; }
public Show? Show { get; set; }
[Required]
public int SoundId { get; set; }
[Required] public int SoundId { get; set; }
public Sound? Sound { get; set; }
[Required, Range(0, int.MaxValue)]
public int Start { get; set; }
[Required, Range(0, int.MaxValue)]
public int End { get; set; }
[Required, Range(0, int.MaxValue)] public int Start { get; set; }
[Required, Range(0, int.MaxValue)] public int End { get; set; }
}