8fd00ce8f008f49d26d5c811c4427167609977c8.svn-base 488 B

123456789101112131415161718
  1. package cn.com.goldenwater.dcproj.target;
  2. import java.lang.annotation.*;
  3. @Target({ElementType.METHOD})
  4. @Retention(RetentionPolicy.RUNTIME)
  5. @Documented
  6. public @interface Authority {
  7. /**
  8. *
  9. * 角色类型,多个角色用逗号分隔
  10. * 角色1>2>3>4 按照这种方式权限高的用户能够对低用户信息进行查看
  11. * 1机构领导,2管理员,3督查人员,4稽察人员
  12. * */
  13. String roles() default "3";
  14. boolean premit() default true;
  15. }