com.mofum.scope.common.model.Permission Maven / Gradle / Ivy
package com.mofum.scope.common.model;
import java.util.List;
/**
* 权限模型
*
* @author [email protected]
* @since 2019-03-19
**/
public class Permission {
/**
* 用户ID
*/
private String userId;
/**
* 列名
*/
@Deprecated
private String column;
/**
* 表别名
*/
@Deprecated
private String tableArias;
/**
* 范围
*/
private List scopeCollections;
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getColumn() {
return column;
}
public void setColumn(String column) {
this.column = column;
}
public String getTableArias() {
return tableArias;
}
public void setTableArias(String tableArias) {
this.tableArias = tableArias;
}
public List getScopeCollections() {
return scopeCollections;
}
public void setScopeCollections(List scopeCollections) {
this.scopeCollections = scopeCollections;
}
@Override
public String toString() {
return "Permission{" +
"userId='" + userId + '\'' +
", column='" + column + '\'' +
", tableArias='" + tableArias + '\'' +
", scopeCollections=" + scopeCollections +
'}';
}
}