public override int GetHashCode() { return(EntityId.GetHashCode() + PType.GetHashCode() + SenderId.GetHashCode()); }