Files
ClubPenguinServer/MareSynchronosServer/MareSynchronosServer/Models/User.cs

22 lines
503 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace MareSynchronosServer.Models
{
public class User
{
[Key]
[MaxLength(10)]
public string UID { get; set; }
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; }
}
}