-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBook.java
More file actions
69 lines (44 loc) · 1.4 KB
/
Book.java
File metadata and controls
69 lines (44 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
public class Book {
private String bookId;
private String bookName;
private String authorName;
private int available_quantity;
private int issued_quantitiy;
public Book(String bookId,String bookName , String authorName, int available_quantity,int issued_quantitiy){
this.bookId = bookId;
this.bookName = bookName;
this.authorName = authorName;
this.available_quantity=available_quantity;
this.issued_quantitiy = issued_quantitiy;
}
public String getId() {
return this.bookId;
}
public void setId(String bookId) {
this.bookId = bookId;
}
public String getBookName() {
return this.bookName;
}
public void setBookName(String bookName) {
this.bookName = bookName;
}
public String getAuthorName() {
return this.authorName;
}
public void setAuthorName(String authorName) {
this.authorName = authorName;
}
public int getAvailable_quantity() {
return this.available_quantity;
}
public void setAvailable_quantity(int available_quantity) {
this.available_quantity = available_quantity;
}
public int getIssued_quantitiy() {
return this.issued_quantitiy;
}
public void setIssued_quantitiy(int issued_quantitiy) {
this.issued_quantitiy = issued_quantitiy;
}
}