com.github.iintelligas.bean.UserWrapper Maven / Gradle / Ivy
The newest version!
package com.github.iintelligas.bean;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.iintelligas.persist.dto.User;
import java.util.List;
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserWrapper {
private List users;
private String message;
public UserWrapper() {
}
public UserWrapper(List users) {
this.users = users;
}
public List getUsers() {
return users;
}
public void setUsers(List users) {
this.users = users;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public String toString() {
return "UserWrapper{" +
"users=" + users +
", message='" + message + '\'' +
'}';
}
}