mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-10 07:58:39 -05:00
Split monolithic MusicModels.cs (177 lines) into separate files: - Models/Settings/ (DeezerSettings, QobuzSettings, SubsonicSettings) - Models/Domain/ (Song, Album, Artist) - Models/Search/ (SearchResult) - Models/Download/ (DownloadInfo, DownloadStatus) - Models/Subsonic/ (ScanStatus) Updated namespaces and imports across 22 files. Improves navigation and separates models by business context.
21 lines
658 B
C#
21 lines
658 B
C#
namespace octo_fiesta.Models.Domain;
|
|
|
|
/// <summary>
|
|
/// Represents an album
|
|
/// </summary>
|
|
public class Album
|
|
{
|
|
public string Id { get; set; } = string.Empty;
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Artist { get; set; } = string.Empty;
|
|
public string? ArtistId { get; set; }
|
|
public int? Year { get; set; }
|
|
public int? SongCount { get; set; }
|
|
public string? CoverArtUrl { get; set; }
|
|
public string? Genre { get; set; }
|
|
public bool IsLocal { get; set; }
|
|
public string? ExternalProvider { get; set; }
|
|
public string? ExternalId { get; set; }
|
|
public List<Song> Songs { get; set; } = new();
|
|
}
|