forked from bitcocom/JavaTPCProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBookDTO.java
More file actions
44 lines (43 loc) · 972 Bytes
/
BookDTO.java
File metadata and controls
44 lines (43 loc) · 972 Bytes
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
package kr.inflearn;
public class BookDTO {
private String title;
private int price;
private String company;
private int page;
public BookDTO() { }
public BookDTO(String title, int price, String company, int page) {
super();
this.title = title;
this.price = price;
this.company = company;
this.page = page;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public int getPrice() {
return price;
}
public void setPrice(int price) {
this.price = price;
}
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company;
}
public int getPage() {
return page;
}
public void setPage(int page) {
this.page = page;
}
@Override
public String toString() {
return "BookDTO [title=" + title + ", price=" + price + ", company=" + company + ", page=" + page + "]";
}
}