feat(backend): add source, external id and artist to tracks

This commit is contained in:
2026-07-16 01:05:28 +02:00
parent 49b7d54e58
commit 87997d90a4
7 changed files with 829 additions and 2 deletions
+11
View File
@@ -23,6 +23,17 @@ namespace Musify.Domain.Entities
[Required]
public int Duration { get; set; }
[Required]
[MaxLength(200)]
public string Artist { get; set; } = string.Empty;
[Required]
public TrackSource Source { get; set; } = TrackSource.Local;
[Required]
[MaxLength(16)]
public string ExternalId { get; set; } = string.Empty;
[Required]
[MaxLength(64)]
public required string OriginalPictureName { get; set; }