0% found this document useful (0 votes)
13 views1 page

Software Design Assignment Part 2

This document describes an online shopping website. The website allows customers to register as users, login, and update their profiles. Customers have unique IDs, personal information, shipping addresses, and shopping carts. They can place orders which have unique IDs, dates, and status. Products can be added to carts and quantities updated. The document asks to draw a class diagram modeling the system classes, attributes, and relationships.

Uploaded by

Emy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Software Design Assignment Part 2

This document describes an online shopping website. The website allows customers to register as users, login, and update their profiles. Customers have unique IDs, personal information, shipping addresses, and shopping carts. They can place orders which have unique IDs, dates, and status. Products can be added to carts and quantities updated. The document asks to draw a class diagram modeling the system classes, attributes, and relationships.

Uploaded by

Emy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

‫ﻣﻮﻗﻊ اﻟﺘﺴﻮق ﻋﺒﺮ اﻹﻧﺘﺮﻧﺖ‬

‫ﻛﻞ ﻋﻤﯿﻞ ‪ customer‬ﻟﺪﯾﮫ ‪ id‬ﻓﺮﯾﺪ ‪ ,‬إﺳﻢ ‪,‬ﻋﻨﻮان‪ ,‬إﯾﻤﯿﻞ‪ ,‬ﻣﻌﻠﻮﻣﺎت ﻋﻦ ﺑﻄﺎﻗـﺘﮫ اﻹﺋﺘﻤﺎﻧﯿﺔ وﻣﻌﻠﻮﻣﺎت ﻋﻦ‬
‫اﻟﺸﺤﻦ "اﻟﻌﻨﻮان اﻟﻠﺬي ﯾﺮﯾﺪ اﻟﻌﻤﯿﻞ ﺷﺤﻦ اﻟﻤﻨﺘﺠﺎت ﻟﮫ" ‪ .‬ﯾﻤﺘﻠﻚ ﻛﻞ ﻋﻤﯿﻞ ﻋﺮﺑﺔ ﺗﺴﻮق وطﻠﺒﺎت ‪.Orders‬‬
‫ﯾﻤﻜﻦ ﻟﻠﻌﻤﯿﻞ اﻟﺘﺴﺠﯿﻞ ﻛﻤﺴﺘﺨﺪم ﻟﯿﺘﻤﻜﻦ ﻣﻦ ﺷﺮاء اﻟﻌﻨﺎﺻﺮ ﻋﺒﺮ اﻹﻧﺘﺮﻧﺖ‪ ,‬ﻛﻤﺎ ﯾﻤﻜﻨﮫ ﺗﺴﺠﯿﻞ اﻟﺪﺧﻮل ‪login‬‬
‫ﻟﻠﻤﻮﻗﻊ‪ ,‬وأﯾﻀﺎ ﯾﻤﻜﻨﮫ ﺗﺤﺪﯾﺚ ﺑﯿﺎﻧﺎﺗﮫ ﻣﺜﻼ إذا أراد ﺗﻐﯿﯿﺮ رﻗﻢ ھﺎﺗﻔﮫ او إﯾﻤﯿﻠﮫ‪.‬‬
‫ﺣﯿﺚ ان اﻟﻤﺴﺘﺨﺪم ﻟﺪﯾﮫ ‪ , id‬وﻛﻠﻤﺔ ﺳﺮ ‪ ,password‬وﺣﺎﻟﺔ اﻟﻤﺴﺘﺨﺪم ‪ status‬ھﻞ ھﻮا ﻣﺴﺘﺨﺪم ﺟﺪﯾﺪ ام‬
‫‪.active‬‬
‫ﯾﻤﺘﻠﻚ ﻛﻞ ﻋﻤﯿﻞ طﻠﺒﺎت ‪ orders‬ﻟﻜﻞ طﻠﺐ ‪ id‬ﺧﺎص ﻓﺮﯾﺪ ﺑﮫ وﺗﺎرﯾﺦ إﻧﺸﺎء‪ ,‬وﺗﺎرﯾﺦ اﻟﺸﺤﻦ وﺣﺎﻟﺔ اﻟﻄﻠﺐ "‬
‫ھﻞ ﺗﻢ اﻟﺸﺤﻦ ام ﻟﻢ ﯾﺘﻢ ﺑﻌﺪ"‪ ,‬وﻗﺪ ﻻ ﯾﻜﻮن ھﻨﺎك طﻠﺒﺎت ﻟﻠﻌﻤﯿﻞ ‪.‬‬
‫ﻟﻜﻞ ﻋﻤﯿﻞ ﻋﺮﺑﺔ ﺗﺴﻮق ﻟﮭﺎ ‪ id‬ﻓﺮﯾﺪ ورﻗﻢ اﻟﻤﻨﺘﺞ واﻟﻜﻤﯿﺔ "ﻋﺪد اﻟﻤﻨﺘﺠﺎت" وﺗﺎرﯾﺦ إﺿﺎﻓﺔ اﻟﻤﻨﺘﺠﺎت اﻟﻲ ﻋﺮﺑﺔ‬
‫اﻟﺘﺴﻮق‪ .‬وﻗﺪ ﻻ ﯾﻜﻮن ھﻨﺎك ﻋﺮﺑﺔ ﺗﺴﻮق ﻟﻠﻌﻤﯿﻞ أو ﻟﺪﯾﮫ ﻋﺮﺑﺔ او اﻛﺜﺮ‪.‬‬
‫ﯾﻜﻤﻦ إﺿﺎﻓﺔ ﻣﻨﺘﺞ ﻟﻠﻌﺮﺑﺔ وﺗﺤﺪﯾﺚ اﻟﻜﻤﯿﺔ وﻋﺮض ﺗﻔﺎﺻﯿﻞ اﻟﻌﺮﺑﺔ واﻟﺪﻓﻊ ‪.‬‬

‫‪ .1‬أرﺳﻢ ال ‪ class diagram‬ﻟﮭﺬا اﻟﻨﻈﺎم ﻣﺤﺪدا اﻟﺘﺎﻟﻲ ‪:‬‬


‫‪Classes, its names, Attributes (Name, type), Operations‬‬

‫‪ .2‬ﺗﺤﺪﯾﺪ ﻛﺎﻓﺔ اﻟﻌﻼﻗﺎت اﻟﻤﺬﻛﻮرة ﺿﻤﻨﯿﺎ ﻓﻲ اﻟﺴﯿﻨﺎرﯾﻮ وﻧﻤﺬﺟﺘﮭﺎ ﻓﻲ ال ‪.class diagram‬‬

You might also like