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

19 lines
No EOL
688 B
C#

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