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