OOP_Library Project Description
An application for storing bookstore data, including customer-base, book catalog, and employee database. From a technology standpoint, written ourely in Object-Oriented Python.
Object-Oriented Approach to Development
This project relies heavily on encapsulation and abstraction. Abstraction is accomplished when offering the user
Inheritance will also be present when the customer and employee classes inherit from the person class.
Custom Classes: Book class.
Attributes:
- Title - a string, title of the book
- Author - a string, author of the book
- Publication Year - an integer, publication year of the book
- Genre - a string, the genre of the book
- Publisher - a string, the publisher for the book
- Words - a string, the words of the book
- Sale Cost - a double, the cost of the book
Setter Methods:
- set_title() - Set title of the book. 1 string input param
- set_author() - Set author of the book. 1 string input param
- set_year() - Set year of the book. 1 integer input param
- set_genre() - Set genre of the book. 1 string input param
- set_publisher() - Set publisher of the book. 1 string input param
- set_words() - Store the words of the book. 1 string input param
- set_cost() - Set cost of the book. 1 double input param
Getter Methods:
- get_title() - Return title of the book
- get_author() - Return author of the book
- get_year() - Return year of the book
- get_genre() - Return genre of the book
- get_publisher() - Return publisher of the book
- get_words() - Return words of the book
- get_cost() - Return cost of the book
External Libraries
- import random
- import matplotlib.pyplot as plt