namespace Yuna.Website.Server.Model
{
    public class User
    {
        public User(string userName, string hashedPassword)
        {
            UserName = userName;
            HashedPassword = hashedPassword;
        }

        User()
        { }

        public long Id { get; init; }
        public string UserName { get; set; } = null!;
        public string HashedPassword { get; set; } = null!;
        public bool IsAdmin { get; set; } = false;
    }
}
