mirror of
https://github.com/sebastian-heinz/mhf-server.git
synced 2025-04-03 13:28:30 +08:00
26 lines
703 B
C#
26 lines
703 B
C#
using System;
|
|
|
|
namespace Mhf.Server.Model
|
|
{
|
|
public class Account
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string NormalName { get; set; }
|
|
public string Hash { get; set; }
|
|
public string Mail { get; set; }
|
|
public string MailToken { get; set; }
|
|
public string PasswordToken { get; set; }
|
|
public bool MailVerified { get; set; }
|
|
public DateTime? MailVerifiedAt { get; set; }
|
|
public AccountStateType State { get; set; }
|
|
public DateTime? LastLogin { get; set; }
|
|
public DateTime Created { get; set; }
|
|
|
|
public Account()
|
|
{
|
|
Id = -1;
|
|
}
|
|
}
|
|
}
|