Advertisement
Guest User

Untitled

a guest
Feb 25th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.92 KB | None | 0 0
  1. {
  2. using System;
  3. using System.Collections.Generic;
  4. using Infrastructure.Models;
  5.  
  6. /// <summary>
  7. /// The track.
  8. /// </summary>
  9. public class Track : BaseEntity
  10. {
  11. /// <summary>
  12. /// Gets or sets the name.
  13. /// </summary>
  14. public string Name { get; set; }
  15.  
  16. /// <summary>
  17. /// Gets or sets the album id.
  18. /// </summary>
  19. public int? AlbumId { get; set; }
  20.  
  21. /// <summary>
  22. /// Gets or sets the album.
  23. /// </summary>
  24. public Album Album { get; set; }
  25.  
  26. /// <summary>
  27. /// Gets or sets the artist id.
  28. /// </summary>
  29. public int? ArtistId { get; set; }
  30.  
  31. /// <summary>
  32. /// Gets or sets the artist.
  33. /// </summary>
  34. public Artist Artist { get; set; }
  35.  
  36. /// <summary>
  37. /// Gets or sets the track duration.
  38. /// </summary>
  39. public TimeSpan? Duration { get; set; }
  40.  
  41. /// <summary>
  42. /// Gets or sets the genre id.
  43. /// </summary>
  44. public int? GenreId { get; set; }
  45.  
  46. /// <summary>
  47. /// Gets or sets the genre.
  48. /// </summary>
  49. public Genre Genre { get; set; }
  50.  
  51. /// <summary>
  52. /// Gets or sets the image.
  53. /// </summary>
  54. public byte[] Image { get; set; }
  55.  
  56. /// <summary>
  57. /// Gets or sets the track file.
  58. /// </summary>
  59. public byte[] TrackFile { get; set; }
  60.  
  61. /// <summary>
  62. /// Gets or sets the track prices.
  63. /// </summary>
  64. public ICollection<TrackPrice> TrackPrices { get; set; }
  65.  
  66. /// <summary>
  67. /// Gets or sets all user votes for the current track.
  68. /// </summary>
  69. public ICollection<Vote> Votes { get; set; }
  70.  
  71. /// <summary>
  72. /// Gets or sets all user feedbacks the current track.
  73. /// </summary>
  74. public ICollection<Feedback> Feedbacks { get; set; }
  75. }
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement