Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!