java-tutorials/web-modules/play-modules/websockets/app/dto/RequestDTO.java

28 lines
481 B
Java

package dto;
public class RequestDTO {
private String message;
public RequestDTO() {
}
public RequestDTO(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public String toString() {
return "RequestDTO{" +
"message='" + message + '\'' +
'}';
}
}