mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 14:10:21 +00:00
19 lines
No EOL
517 B
C#
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; }
|
|
}
|
|
} |