AccountResources.java 678 B

123456789101112131415161718192021222324252627282930313233
  1. package com.cloudcross.ssp.model;
  2. /**
  3. *
  4. * 账户直接对接权限类!
  5. * 这样做权限控制上面会更灵活一点!
  6. *
  7. * @author yzq
  8. *
  9. */
  10. public class AccountResources {
  11. private Long accountId;
  12. private Long resourceId;
  13. public Long getAccountId() {
  14. return accountId;
  15. }
  16. public void setAccountId(Long accountId) {
  17. this.accountId = accountId;
  18. }
  19. public Long getResourceId() {
  20. return resourceId;
  21. }
  22. public void setResourceId(Long resourceId) {
  23. this.resourceId = resourceId;
  24. }
  25. @Override
  26. public String toString() {
  27. return "AccountResources [accountId=" + accountId + ", resourceId="
  28. + resourceId + "]";
  29. }
  30. }