roadie/Roadie.Api.Library/Data/PlaylistTrack.cs
2019-07-03 11:21:29 -05:00

19 lines
No EOL
517 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("playlisttrack")]
public class PlaylistTrack : EntityBase
{
[Column("listNumber")] [Required] public int ListNumber { get; set; }
public Playlist Playlist { get; set; }
[Column("playListId")] public int PlayListId { get; set; }
public Track Track { get; set; }
[Column("trackId")] public int TrackId { get; set; }
}
}