mirror of
https://github.com/sphildreth/roadie
synced 2024-11-22 20:23:16 +00:00
16 lines
No EOL
392 B
C#
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; }
|
|
}
|
|
} |