Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

done #33

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

done #33

Show file tree
Hide file tree
Changes from all commits
Commits
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/.idea/.gitignore

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

1 change: 1 addition & 0 deletions Answers/.idea/.name

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

13 changes: 13 additions & 0 deletions Answers/.idea/compiler.xml

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

20 changes: 20 additions & 0 deletions Answers/.idea/jarRepositories.xml

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

14 changes: 14 additions & 0 deletions Answers/.idea/misc.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/.idea/vcs.xml

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

126 changes: 126 additions & 0 deletions Answers/library-management/.idea/workspace.xml

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

16 changes: 16 additions & 0 deletions Answers/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.example</groupId>
<artifactId>lms40230212039</artifactId>
<version>1.0-SNAPSHOT</version>

<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>

</project>
3 changes: 3 additions & 0 deletions Answers/src/main/java/.idea/.gitignore

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

6 changes: 6 additions & 0 deletions Answers/src/main/java/.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/src/main/java/.idea/modules.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/src/main/java/.idea/vcs.xml

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

16 changes: 16 additions & 0 deletions Answers/src/main/java/Admin.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
public class Admin extends User{
private String password;
public Admin(String Name , long Unique_ID , String Phone_number, String password){
super(Name, Unique_ID , Phone_number);
this.password = password;
}

public String getPassword() {
return password;
}

@Override
public String getName() {
return super.getName();
}
}
40 changes: 40 additions & 0 deletions Answers/src/main/java/Book.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
public class Book {
private int bookId;
private String Title;
private String Author;
private boolean Availability_status;
private String Description;

public Book(int bookId , String Title , String Author , boolean Availability_status, String Description){
this.bookId = bookId;
this.Author = Author;
this.Title = Title;
this.Availability_status = Availability_status;
this.Description = Description;

}

public String getTitle() {
return Title;
}

public void setTitle(String title) {
Title = title;
}

public String getAuthor() {
return Author;
}

public String getDescription() {
return Description;
}

public boolean getAvailability_status() {
return Availability_status;
}

public void setAvailability_status(boolean availability_status) {
Availability_status = availability_status;
}
}
Loading