![JAR search and dependency download from the Maven repository](/logo.png)
com.github.houbb.privilege.test.own.PrivilegeOwnTwo Maven / Gradle / Ivy
package com.github.houbb.privilege.test.own;
import com.github.houbb.privilege.api.api.IPrivilegeInfo;
import com.github.houbb.privilege.api.api.IPrivilegeOwn;
import com.github.houbb.privilege.core.support.info.PrivilegeInfo;
import java.util.Arrays;
import java.util.List;
/**
* @author binbin.hou
* @since 0.0.2
*/
public class PrivilegeOwnTwo implements IPrivilegeOwn {
@Override
public List ownPrivilege() {
IPrivilegeInfo one = PrivilegeInfo.newInstance().code("001");
IPrivilegeInfo two = PrivilegeInfo.newInstance().code("002");
return Arrays.asList(one, two);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy