Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have been asked to design a digital book store app where users can buy or rent digital books. Create a Class diagram based on

You have been asked to design a digital book store app where users can buy or rent digital books. Create a Class diagram based on the following requirements. Identify classes, attributes, and operations:

The app collects and maintains data about digital books, such as title, author(s), genre, and year published. The app collects and maintains data about publishers, such as publisher name, location, representative, and contact information. The store app can update the data about digital books. Each publisher must have at least one book in the store and can have many books. In contrast, each book must be associated with only one publisher. Users can create or modify their accounts in the app store, and the apps store collects data about customers, such as name, age, gender, interest, and location. Users can be individual members or family members. Users must be either one of the two membership types (cant be both). Further, every user must choose one of the two membership types. For family members, the app store collects names of family members. There are two types of sales that can be made in the app store: buy and rent. Sales must be either buy or rent (cant be both), and every sale must be either buy or rent. For all sales, the app store collects sales date and sales price. For rent sales, the app store stores expiration date and generates expiration notices. Each sale is associated with one user, and a user can have multiple sales. Furthermore, customers have an option to save payment information in the app store (they can save as many payment methods as they want i.e., multiple credit cards). Payment methods can be credit card or bank account. For credit cards, the app store collects credit card numbers and for bank accounts, the app store collects routing and account numbers.

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

Students also viewed these Databases questions