Vytvor si vlasnu classu, do ktorej si das datove typy, ktore potrebujes a potom si vytvor objekt, ktory bude typu tek klasy.