The Dmaj7 (D major seven) chord can be played by barring the bottom three strings with your index finger. In the picture I’ve shown you a way to make it as an open chord.
Think of this one just like an A Major chord, just moved down a set of strings.