roadie/Roadie.Api.Library/Data/UserQue.cs
2018-12-26 13:39:13 -06:00

36 lines
826 B
C#

using Roadie.Library.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace Roadie.Library.Data
{
[Table("userQue")]
public class UserQue : EntityBase
{
public ApplicationUser User { get; set; }
[Column("userId")]
[Required]
public int UserId { get; set; }
public Track Track { get; set; }
[Column("trackId")]
[Required]
public int TrackId { get; set; }
[Column("queSortOrder")]
[Required]
public short QueSortOrder { get; set; }
[Column("position")]
public long? Position { get; set; }
[Column("isCurrent")]
public bool? IsCurrent { get; set; }
}
}