Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Loan.h"
- #include "LoanList.h"
- Loan::Loan()
- {
- loanID = 0;
- bookID = 0;
- dueDate = "None";
- status = "None";
- }
- Loan::Loan(int loanID, int bookID, string dueDate, string status)
- {
- this->loanID = loanID;
- this->bookID = bookID;
- this->dueDate = dueDate;
- this->status = status;
- }
- void Loan::SetLoanID(int myLoanID)
- {
- loanID = myLoanID;
- }
- void Loan::SetBookID(int myBookID)
- {
- bookID = myBookID;
- }
- void Loan::SetDueDate(string due)
- {
- dueDate = due;
- }
- void Loan::SetStatus(string status){
- this->status = status;
- }
- void Loan::CheckOut(){
- LoanList loanList;
- }
- void Loan::CheckIn(){
- }
- void Loan::ListOverDue(){
- }
- void Loan::ListBooksForPatron(){
- }
- void Loan::UpdateLoan(){
- }
- void Loan::ReCheck(){
- }
- void Loan::EditLoan(){
- }
- void Loan::ReportLost(){
- }
Advertisement
Add Comment
Please, Sign In to add comment