I have these 2 structs and 1 class and I want to convert them into UML class:
struct cat
{
std::string name;
int id;
};
struct dog
{
std::string name;
std::string owner;
int age;
};
class Pet
{
std::vector<cat> cats;
std::vector<dog> dogs;
//some methods
};
i made this:
thank you in advance