38 lines
782 B
Java
38 lines
782 B
Java
package pl.edu.amu.wmi.bookapi.api.dto;
|
|
|
|
public class MessageDto {
|
|
private String content;
|
|
private String author;
|
|
private String recipient;
|
|
|
|
public MessageDto(String content, String author, String recipient) {
|
|
this.content = content;
|
|
this.author = author;
|
|
this.recipient = recipient;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public String getAuthor() {
|
|
return author;
|
|
}
|
|
|
|
public void setAuthor(String author) {
|
|
this.author = author;
|
|
}
|
|
|
|
public String getRecipient() {
|
|
return recipient;
|
|
}
|
|
|
|
public void setRecipient(String recipient) {
|
|
this.recipient = recipient;
|
|
}
|
|
}
|