using System; using System.Collections.Generic; using Avalonia.Media; using SaturnData.Notation.Core; namespace MercuryConverter.Data; /// /// Combining SaturnData's Entry & Chart. /// public class Song { public required string Id { get; set; } // Snn-nnn public required string Name { get; set; } public required string Artist { get; set; } public required uint Source { get; set; } public required string Rubi { get; set; } public string? Copyright { get; set; } // May have never been used? public required int Genre { get; set; } public required string? Jacket { get; set; } public required float PreviewTime { get; set; } public required float PreviewLen { get; set; } public string SourceName => Consts.NUM_SOURCE[Source]; // TODO: For SaturnData.Entry instances, use this Guid format: // MERCURY_[SONGID]_[DIFF] (each var is int) public List<(Difficulty, Entry, Chart)> charts = new(); }