An apartment building has many apartments in it . The apartment buildings are often arranged around courtyards that are open at one end . A garden apartment has some characteristics of a townhouse : each apartment has its own building entrance , or just a few apartments share a small foyer or stairwell at each building entrance .