Song.cs 548 B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text.Json.Serialization;
  4. namespace MusicAPI.BaseModel
  5. {
  6. public partial class Song
  7. {
  8. public int IdSong { get; set; }
  9. public string? NameSong { get; set; }
  10. [JsonIgnore]
  11. public int? IdGenre { get; set; }
  12. [JsonIgnore]
  13. public int? IdArtist { get; set; }
  14. public int? Duration { get; set; }
  15. public virtual Artist? IdArtistNavigation { get; set; }
  16. public virtual Genre? IdGenreNavigation { get; set; }
  17. }
  18. }