mhf-server/Mhf.Server/Model/Account.cs
2019-11-24 19:43:35 +08:00

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;
}
}
}