Video Inventory Manager.
Object Oriented Programming + CSV Reading
- id
- account_type
- first_name
- last_name
- current_video_rentals (list of titles separated by '/')
- id
- title
- copies_available
Your Video Inventory Management application manages the following data:
- Manage customer information:
- customer id
- customer account type (sx/px)
- "sx" = standard account: max 1 rental out at a time
- "px" = premium account: max 3 rentals out at a time
- customer first name
- customer last name
- current list of video rentals (by title)
- Manage the store's video inventory:
- video id
- video title
- number of copies currently available in-store
The application allows:
- Viewing the current video inventory for the store
- show
title
andcopies_available
for each video in the inventory
- show
- Viewing all customers
- show
customer_id
andname
for each customer in the store
- show
- Viewing a customer's current rented videos
- take in a
customer_id
from the user and show current rented videos for that customer - each title should be listed separately (i.e. not displayed as one string with slashes straight from the CSV file)
- take in a
- Adding a new customer
- a newly created customer should not have any rentals
- can you prevent duplicate ids from existing?
- Renting a video out to a customer
- video by
title
- customer by
id
- IMPORTANT: Customers should be limited based on their account type. Your application should enforce these limitations when attempting to rent a video!
- video by
- Returning a video from a customer
- video by
title
- customer by
id
- video by
- Exiting the application
== Welcome to Code Platoon Video! ==
1. View store video inventory
2. View store customers
3. View customer rented videos
4. Add new customer
5. Rent video
6. Return video
7. Exit