Last active
October 30, 2020 12:49
-
-
Save mr5z/448c874dbb1a5885c19b8b01ad0e3bf5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Cave | |
public partial class Cave | |
{ | |
[Key] | |
public int Id { get; set; } | |
[ForeignKey(nameof(Author))] | |
public int AuthorId { get; set; } | |
[ForeignKey(nameof(Map))] | |
public int MapId { get; set; } | |
[StringLength(50)] | |
public string Name { get; set; } | |
public DateTimeOffset DateCreated { get; set; } | |
public long Duration { get; set; } | |
public DeviceType DeviceOrigin { get; set; } | |
public bool ShowJumpScare { get; set; } | |
public double EndPointRadius { get; set; } | |
// Unused | |
public Map Map { get; set; } | |
public virtual User Author { get; set; } | |
} | |
// User | |
public partial class User | |
{ | |
[Key] | |
public int Id { get; set; } | |
[StringLength(50)] | |
public string DisplayName { get; set; } | |
public UserType Type { get; set; } | |
// Unused | |
public virtual ICollection<Cave> Cave { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment