22 lines
514 B
C#
22 lines
514 B
C#
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; }
|
|
}
|
|
}
|