Actualiser PyroFetes/Models/Sound.cs

This commit is contained in:
2025-10-02 15:00:58 +02:00
parent bb02df6323
commit c0ee31f4a7

View File

@@ -9,19 +9,19 @@ public class Sound
[Required, MaxLength(120)] [Required, MaxLength(120)]
public string Name { get; set; } = null!; public string Name { get; set; } = null!;
[MaxLength(60)] [Required, MaxLength(60)]
public string? Type { get; set; } public string? Type { get; set; }
[MaxLength(120)] [Required, MaxLength(120)]
public string? Artist { get; set; } public string? Artist { get; set; }
[Range(0, int.MaxValue)] [Required, Range(0, int.MaxValue)]
public int? Duration { get; set; } public int? Duration { get; set; }
[MaxLength(40)] [Required, MaxLength(40)]
public string? Kind { get; set; } public string? Kind { get; set; }
[MaxLength(40)] [Required, MaxLength(40)]
public string? Format { get; set; } public string? Format { get; set; }
public DateTime? CreationDate { get; set; } public DateTime? CreationDate { get; set; }