1234567891011121314151617181920212223242526272829 |
- package com.lemon.lifecenter.common;
- import org.springframework.beans.factory.annotation.Value;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.context.annotation.PropertySource;
- import org.springframework.stereotype.Component;
- @Component
- @Configuration
- @PropertySource("classpath:config.properties")
- public class LifeCenterConfigVO {
- public final static String AccessAdmin = "/admin";
- public static byte[] IV = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
-
- @Value( "${config.aesKey}" )
- public String aesKey;
-
- // 페이지 그룹 갯수
- @Value( "${config.pageGroupSize}" )
- public int pageGroupSize;
-
- // 페이지당 보여줄 데이터 갯수
- @Value( "${config.pageDataSize}" )
- public int pageDataSize;
-
- // 페이지 prefix ex) ?page
- @Value( "${config.pagePrefix}" )
- public String pagePrefix;
- }
|