All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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 + '\'' +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy