32 lines
501 B
Java
32 lines
501 B
Java
package com.baeldung.swaggerboot.transfer;
|
|
|
|
public class CustomResponse {
|
|
|
|
private int id;
|
|
private String note;
|
|
|
|
public CustomResponse() {}
|
|
|
|
public CustomResponse(int id, String note) {
|
|
this.id = id;
|
|
this.note = note;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(int id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public String getNote() {
|
|
return note;
|
|
}
|
|
|
|
public void setNote(String note) {
|
|
this.note = note;
|
|
}
|
|
|
|
}
|