commit 22/07/2025

This commit is contained in:
2025-07-22 11:33:13 +07:00
parent 3539fb7d65
commit 49ac4353b3
11 changed files with 134 additions and 57 deletions

View File

@@ -0,0 +1,29 @@
package ErhaAPI;
public class BarcodeResult {
public int currentPage;
public int limit;
public int totalPages;
public int totalRecords;
public String message;
public boolean error;
public String errorId;
public String errorMessage;
public String errorCode;
public PatientRecord[] data;
@Override
public String toString(){
StringBuilder sb = new StringBuilder();
sb.append("currentPage : ").append(currentPage).append(", limit : ").append(limit).append(", totalPages : ").append(totalPages).append(", totalRecords : ").append(totalRecords).append(", message : ").append(message).append(", error : ").append(error);
if (data != null){
sb.append(", data : [");
for (PatientRecord pr : data){
sb.append(pr.toString()).append(", ");
}
sb.append("]");
}
return sb.toString();
}
}