public virtual void InitializeFromOutput(TOutput output) { ErrorCode = ErrorCode.FromString(output.ErrorCode); Permission = UserPermission.FromString(output.Permission); }