LifeCenterConfigVO.java 962 B

1234567891011121314151617181920212223242526272829
  1. package com.lemon.lifecenter.common;
  2. import org.springframework.beans.factory.annotation.Value;
  3. import org.springframework.context.annotation.Configuration;
  4. import org.springframework.context.annotation.PropertySource;
  5. import org.springframework.stereotype.Component;
  6. @Component
  7. @Configuration
  8. @PropertySource("classpath:config.properties")
  9. public class LifeCenterConfigVO {
  10. public final static String AccessAdmin = "/admin";
  11. public static byte[] IV = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
  12. @Value( "${config.aesKey}" )
  13. public String aesKey;
  14. // 페이지 그룹 갯수
  15. @Value( "${config.pageGroupSize}" )
  16. public int pageGroupSize;
  17. // 페이지당 보여줄 데이터 갯수
  18. @Value( "${config.pageDataSize}" )
  19. public int pageDataSize;
  20. // 페이지 prefix ex) ?page
  21. @Value( "${config.pagePrefix}" )
  22. public String pagePrefix;
  23. }