roadie/RoadieLibrary/Data/PlaylistTrack.cs

23 lines
557 B
C#
Raw Normal View History

2018-11-02 21:11:11 +00:00
using System.ComponentModel.DataAnnotations;
2018-11-02 21:04:49 +00:00
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("playlisttrack")]
public partial class PlaylistTrack : EntityBase
{
[Column("listNumber")]
[Required]
public int ListNumber { get; set; }
2018-11-02 21:11:11 +00:00
public Playlist Playlist { get; set; }
2018-11-02 21:04:49 +00:00
[Column("playListId")]
public int PlayListId { get; set; }
public Track Track { get; set; }
2018-11-02 21:11:11 +00:00
[Column("trackId")]
public int TrackId { get; set; }
2018-11-02 21:04:49 +00:00
}
2018-11-02 21:11:11 +00:00
}