public UserPrototype(int id, string fullName, int age, string userName, string password, int totalMsgs, bool banned, string phone, string email, Themes theme, int isLogged, bool isAdmin) { Id = id; FullName = fullName ?? throw new ArgumentNullException(nameof(fullName)); Age = age; UserName = userName ?? throw new ArgumentNullException(nameof(userName)); Password = password ?? throw new ArgumentNullException(nameof(password)); TotalMsgs = totalMsgs; Banned = banned; Phone = phone ?? throw new ArgumentNullException(nameof(phone)); Email = email ?? throw new ArgumentNullException(nameof(email)); Theme = theme ?? throw new ArgumentNullException(nameof(theme)); IsLogged = isLogged; IsAdmin = isAdmin; }