move shared content to shared project

This commit is contained in:
rootdarkarchon
2022-08-22 11:21:28 +02:00
parent 927e1aaceb
commit 6c243d0247
40 changed files with 117 additions and 97 deletions

View File

@@ -0,0 +1,21 @@
using System.ComponentModel.DataAnnotations;
namespace MareSynchronosShared.Models
{
public class User
{
[Key]
[MaxLength(10)]
public string UID { get; set; }
[MaxLength(100)]
public string CharacterIdentification { get; set; }
[Timestamp]
public byte[] Timestamp { get; set; }
public bool IsModerator { get; set; } = false;
public bool IsAdmin { get; set; } = false;
public DateTime LastLoggedIn { get; set; }
}
}