Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
d5748ef
MyApp class is added to project
AHSalehi May 9, 2024
86ad6bf
User class is added to project
AHSalehi May 9, 2024
4012f6e
myFileClass is added to project and it includes methods like add-to-file
AHSalehi May 9, 2024
d7e37a1
Book class is added to project
AHSalehi May 9, 2024
93de111
New methods added to project for search& add to files related to Book…
AHSalehi May 9, 2024
4a0ddc9
Book class has been updated
AHSalehi May 9, 2024
f448c71
Library class is added to project
AHSalehi May 9, 2024
3dc3dc3
Verification class is added to verify Users ID, Phonenumber, username.
AHSalehi May 9, 2024
919d558
Users text file is added to project to store Normal users details
AHSalehi May 9, 2024
aff9a1f
Books text file is added to project to store Books details
AHSalehi May 9, 2024
adb68a5
Admins text file is added to project to store Admin details
AHSalehi May 9, 2024
683f811
Rental text file is added to store rental books details
AHSalehi May 9, 2024
47179d0
File class is updated with password detection for users
AHSalehi May 9, 2024
7884202
Constructor is added to library class
AHSalehi May 9, 2024
3ac8224
Rent class is added to project with constructor and getters
AHSalehi May 9, 2024
f048183
Class has been updated with method related to Rentals file
AHSalehi May 9, 2024
c3e1702
Class has been updated with method related to Books file
AHSalehi May 10, 2024
8e44505
Sign up is made for just normal users
AHSalehi May 10, 2024
71c0282
Null String issues is resolved for file methods
AHSalehi May 10, 2024
c47fdd7
Login for normal users is made
AHSalehi May 10, 2024
1a613a3
showPass and showUser is added to project in case of User forget his/…
AHSalehi May 10, 2024
e0a0572
Login for admins is added to project
AHSalehi May 10, 2024
a1825d8
CLI making is started
AHSalehi May 10, 2024
f644c49
Password is added to User class
AHSalehi May 10, 2024
6ec7f30
In normal user panel, Edit user info is added
AHSalehi May 10, 2024
a38068d
Feature : to increment existence of a book in library is added to boo…
AHSalehi May 10, 2024
d8b327a
Feature add book by normal user is added
AHSalehi May 10, 2024
8feec38
One issue came up and it is resolved now about IndexOutOfRange for st…
AHSalehi May 11, 2024
4cbc003
Method to change status of book in rent mode in normal user panel is …
AHSalehi May 11, 2024
c658b48
Features to rent a book/show user profile/show available book are added
AHSalehi May 11, 2024
f311bc1
book status issues about rent access for normal user is resolved
AHSalehi May 11, 2024
a8b4be6
Rent access is modified for normal user
AHSalehi May 11, 2024
7ddde98
Library works based on its operation time
AHSalehi May 11, 2024
3baedcc
show avalable books is updated
AHSalehi May 11, 2024
b99984a
Feature to change status of a book in return case for normal users
AHSalehi May 11, 2024
83f965a
Feature, return a book to library is added for normaluser panel
AHSalehi May 11, 2024
d8f990e
Admin panel help menu is added to project
AHSalehi May 11, 2024
3e39c46
Method to show books for admin users, is added to project
AHSalehi May 12, 2024
671dc70
Feature: show books & rentals & users is available for admins
AHSalehi May 12, 2024
cfa652b
One issue in rent for normal users is resolved, about similarity of u…
AHSalehi May 12, 2024
0303d35
method to remove empty line of file is added to project
AHSalehi May 12, 2024
6055daf
Normal user panel & Admin panel have been updated, with correct promp…
AHSalehi May 13, 2024
ece6857
Remove rent method is added to project
AHSalehi May 13, 2024
b7ec5f4
Date verifications is added to file
AHSalehi May 13, 2024
2c74591
Feature to remove rents, is ready for admin panel
AHSalehi May 13, 2024
aa9452e
Each file has been updated, during program running.
AHSalehi May 13, 2024
bb5e9ec
I forget this file, Sorry:_)
AHSalehi Jul 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Answers/40230112081/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions Answers/40230112081/.idea/40230112081.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Answers/40230112081/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Answers/40230112081/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions Answers/40230112081/.idea/uiDesigner.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions Answers/40230112081/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Answers/40230112081/Admins.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
40230112081,Masoud,9121231234,admin,Masoud
40230112081,Amir1,9120719012,admin,1234
1234512345,krm,9112342345,admin,1234
38 changes: 38 additions & 0 deletions Answers/40230112081/Book.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@


public class Book {
private String id;
private String title;
private String author;
private String description;
private String status;
private int existence;

// constructor
public Book(String id,String title,String author,String description,String status,int existence)
{
this.id = id;
this.title = title;
this.author = author;
this.description = description;
this.status = status;
this.existence = existence;
}

// getters
public String getId() { return this.id; }
public String getTitle() { return this.title; }
public String getAuthor() { return this.author; }
public String getDescription() { return this.description; }
public String getStatus() { return this.status; }
public int getExistence() { return this.existence; }

// setter
public void change_status(String new_stat) {
this.status = new_stat;
}

public void inc_existence(){
this.existence++;
}
}
2 changes: 2 additions & 0 deletions Answers/40230112081/Books.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
1,Math,Salehi,Calc,available,1
3,Book1,Author1,Desc1,available,1
Loading