38 lines
696 B
Java
38 lines
696 B
Java
package pl.edu.amu.wmi.bookapi.api.dto;
|
|
|
|
public class BookDto {
|
|
private String ean;
|
|
private String author;
|
|
private String title;
|
|
|
|
public BookDto(String ean, String author, String title) {
|
|
this.ean = ean;
|
|
this.author = author;
|
|
this.title = title;
|
|
}
|
|
|
|
public String getEan() {
|
|
return ean;
|
|
}
|
|
|
|
public void setEan(String ean) {
|
|
this.ean = ean;
|
|
}
|
|
|
|
public String getAuthor() {
|
|
return author;
|
|
}
|
|
|
|
public void setAuthor(String author) {
|
|
this.author = author;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
}
|