using System; namespace Aurora.Backend.Models { public abstract class BaseSong { public BaseSong() { Id = Guid.NewGuid().ToString(); } #region Properties public string Id { get; private set; } /// /// The title of the song. /// /// public string Title { get; set; } /// /// The artist of the song. /// /// public string Artist { get; set; } /// /// The album from which the song belongs. /// /// public string Album { get; set; } /// /// The duration of the song. /// /// public string Duration { get; set; } /// /// Extra data associated with a song. /// /// public object Metadata { get; set; } #endregion Properties #region Methods /// /// Play this instance. /// public abstract void Play(); #endregion } }