protected internal UserDomain ( long userId, FullNameValueObject fullName, string email, SignInValueObject signIn, Roles roles ) { UserId = userId; FullName = fullName; Email = email; SignIn = signIn; Roles = roles; }
protected internal UserDomain ( long userId, string name, string surname, string email, string login, string password, Roles roles ) { UserId = userId; Name = name; Surname = surname; Email = email; SignIn = new SignInValueObject(login, password); Roles = roles; }
protected internal UserDomain(string login, string password) { SignIn = new SignInValueObject(login, password); }
protected internal UserDomain(SignInValueObject signIn) { SignIn = signIn; }