roadie/Roadie.Api.Library/Data/Submission.cs
2019-11-28 11:38:26 -06:00

16 lines
No EOL
392 B
C#

using Roadie.Library.Identity;
using System.ComponentModel.DataAnnotations.Schema;
namespace Roadie.Library.Data
{
[Table("submission")]
public class Submission : EntityBase
{
[ForeignKey(nameof(UserId))]
[InverseProperty("Submissions")]
public virtual User User { get; set; }
[Column("userId")]
public int UserId { get; set; }
}
}