Guest User

Untitled

a guest
Dec 22nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. package com.kritacademy.spring.sample;
  2.  
  3. import org.springframework.core.annotation.AliasFor;
  4.  
  5. import java.lang.annotation.*;
  6.  
  7. /**
  8. * @author krit on 12/19/2017.
  9. */
  10. @Target({ElementType.METHOD, ElementType.TYPE})
  11. @Retention(RetentionPolicy.RUNTIME)
  12. @Documented
  13. public @interface AutoFee {
  14. @AliasFor("fee")
  15. String value() default "1";
  16.  
  17. @AliasFor("value")
  18. String fee() default "1";
  19. }
Add Comment
Please, Sign In to add comment