W
Wing Siu
I have a class named Brand
Under the Brand, it may contains several exhibition, and the relationship of
Brand:Exhibition is 1:M
Then I am using this design
class Brand {
ArrayList Exhibitions;
}
But in Exhibition, do I need indicate it's Brand?
For example:
class Exhibition {
Brand brand;
}
Thanks
Under the Brand, it may contains several exhibition, and the relationship of
Brand:Exhibition is 1:M
Then I am using this design
class Brand {
ArrayList Exhibitions;
}
But in Exhibition, do I need indicate it's Brand?
For example:
class Exhibition {
Brand brand;
}
Thanks
