forked from sanchezvem/PyroFetes
Actualiser PyroFetes/Models/Sound.cs
This commit is contained in:
@@ -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; }
|
||||||
|
Reference in New Issue
Block a user