Global existence and nonexistence results for a generalized Davey–Stewartson system