/**
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
*
|
* https://www.renren.io
|
*
|
* 版权所有,侵权必究!
|
*/
|
|
package com.iailab.framework.mybatis.interceptor;
|
|
/**
|
* 数据范围
|
*
|
* @author Mark sunlightcs@gmail.com
|
* @since 1.0.0
|
*/
|
public class DataScope {
|
private String sqlFilter;
|
|
public DataScope(String sqlFilter) {
|
this.sqlFilter = sqlFilter;
|
}
|
|
public String getSqlFilter() {
|
return sqlFilter;
|
}
|
|
public void setSqlFilter(String sqlFilter) {
|
this.sqlFilter = sqlFilter;
|
}
|
|
@Override
|
public String toString() {
|
return this.sqlFilter;
|
}
|
}
|