diff --git a/RMuseum/Models/MusicCatalogue/GolhaCollection.cs b/RMuseum/Models/MusicCatalogue/GolhaCollection.cs new file mode 100644 index 00000000..bd9e9aa4 --- /dev/null +++ b/RMuseum/Models/MusicCatalogue/GolhaCollection.cs @@ -0,0 +1,27 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace RMuseum.Models.MusicCatalogue +{ + /// + /// http://www.golha.co.uk offline catalogue + /// + public class GolhaCollection + { + /// + /// id + /// + [Key, DatabaseGenerated(DatabaseGeneratedOption.None)] + public int Id { get; set; } + + /// + /// name + /// + public string Name { get; set; } + + /// + /// url + /// + public string Url { get { return $"http://www.golha.co.uk/fa/search_basic/{Id}"; } } + } +} diff --git a/RMuseum/Models/MusicCatalogue/GolhaProgram.cs b/RMuseum/Models/MusicCatalogue/GolhaProgram.cs new file mode 100644 index 00000000..09e18f8b --- /dev/null +++ b/RMuseum/Models/MusicCatalogue/GolhaProgram.cs @@ -0,0 +1,44 @@ +using System.ComponentModel.DataAnnotations; +using System.ComponentModel.DataAnnotations.Schema; + +namespace RMuseum.Models.MusicCatalogue +{ + public class GolhaProgram + { + /// + /// id + /// + [Key, DatabaseGenerated(DatabaseGeneratedOption.None)] + public int Id { get; set; } + + /// + /// GolhaCollection Id + /// + public int GolhaCollectionId { get; set; } + + /// + /// GolhaCollection + /// + public GolhaCollection GolhaCollection { get; set; } + + /// + /// title + /// + public string Title { get; set; } + + /// + /// program order + /// + public int ProgramOrder { get; set; } + + /// + /// url + /// + public string Url { get; set; } + + /// + /// mp3 + /// + public string Mp3 { get; set; } + } +} diff --git a/RMuseum/Models/MusicCatalogue/GolhaTrack.cs b/RMuseum/Models/MusicCatalogue/GolhaTrack.cs new file mode 100644 index 00000000..f0b88c58 --- /dev/null +++ b/RMuseum/Models/MusicCatalogue/GolhaTrack.cs @@ -0,0 +1,35 @@ +namespace RMuseum.Models.MusicCatalogue +{ + public class GolhaTrack + { + /// + /// id + /// + public int Id { get; set; } + + /// + /// GolhaProgram Id + /// + public int GolhaProgramId { get; set; } + + /// + /// GolhaProgram + /// + public GolhaProgram GolhaProgram { get; set; } + + /// + /// track no + /// + public int TrackNo { get; set; } + + /// + /// timing + /// + public string Timing { get; set; } + + /// + /// title + /// + public string Title { get; set; } + } +}