Can someone check my class diagram because I am not too good at drawing this type of uml diagram
- A User can be a PersonalUser or a BusinessUser
- An Administrator is a special type of PersonalUser
- A PersonalUser or BusinessUser can create many Auction
- But an Auction can be created by only one PersonalUser or only one BusinessUser
- There an Auction cannot exist without an PersonalUser or a BusinessUser
- An Auction can contain only one Item
- An Item can be in only one Auction
- An Item cannot exist without an Auction
- An Auction cannot exist without an Item
- An Item has one Category
- Category can has many item
- An Item cannot exist without a category
- A Category can has a Parent Category but this is not mandatory
- A Category can has many Attributes
- But an Attribute is for only one Category
- An Attribute cannot exist a Category
- An Attribute can has many AttributeOption
- But an AttributeOption is linked to only one Attribute
- An AttributeOption cannot exist without an Attribute
- An Auction can has many bids
- A bid is only for one auction
- A Bid cannot exist without an Auction and a Personal User or a BusinessUser
- An Item can has many picture
- A picture is only for once item and a picture cannot exist without an Item
- A User can create many ForumTopics but a ForumTopic can be created only by one User
- A ForumTopics can contain one or more ForumMessage
- A ForumTopic cannot exist without a User and a ForumMessage cannot exist without a ForumTopic
- A BusinessUser can has many BusinessContactNumber but a BusinessContactNumber is only for one BusinessUser
- A BusinessContactNumber cannot exist without a Business