We show that finite direct sums of modules whose endomorphism rings have only finitely many maximal right ideals and also direct summands of these sums are described by a structure of simple hypergraphs. Vertices of this hypergraph are given by ideals of some category and edges correspond to modules of finite type.