Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Content Design for your WebApp component. Use Lucidchart to Create Class diagrams for the Customer Component . The design of content architecture focuses

Create a Content Design for your WebApp component. Use Lucidchart to Create Class diagrams for the Customer Component.
The design of content architecture focuses on the definition of the overall hypermedia structure of the WebApp.
Component Description:
[10 points] Design a class named Person with properties for holding a persons first name, persons last name, email address, and telephone number. The class should include two constructors and the method ToString().
[10 points] Design a class Customer that is derived from the Person class. The Customer class should have a property for a customer number and a Boolean property indicating whether the customer wishes to be on a mailing list. The class should include two constructors and the method ToString().
[10 points] Design the PreferredCustomer class that is derived from the Customer class you previously created. The PreferredCustomer class should have properties for the amount of the customers purchases and the customers discount amount.
Preferred customer customers can earn discounts on all their purchases. The amount of a customers discount is determined by the amount of the customers cumulative purchases in the store as follows:
When a preferred customer spends $500, they get a 5 percent discount on all future purchases.
When a preferred customer spends $1,000, they get a 6 percent discount on all future purchases.
When a preferred customer spends $1,500, they get a 7 percent discount on all future purchases.
When a preferred customer spends $2,000 or more, they get a 10 percent discount on all future purchases.
The class should include two constructors and the method ToString().
[70 points] Implement/Develop your classes and test them with the Windows Forms Application.
Note:
The PurchaseAmount property should include get and the set methods.
The DiscountAmount property should include get and read-only set methods.
Use decimal data type for discount and amount values.
Add validations to your setters.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Third International Conference Achids 2011 Daegu Korea April 2011 Proceedings Part 2 Lnai 6592

Authors: Ngoc Thanh Nguyen ,Chong-Gun Kim ,Adam Janiak

2011th Edition

3642200419, 978-3642200410

More Books

Students also viewed these Databases questions

Question

Bring out the limitations of planning.

Answered: 1 week ago

Question

Why should a business be socially responsible?

Answered: 1 week ago

Question

Discuss the general principles of management given by Henri Fayol

Answered: 1 week ago

Question

Detailed note on the contributions of F.W.Taylor

Answered: 1 week ago

Question

9. Understand the phenomenon of code switching and interlanguage.

Answered: 1 week ago