초기소스
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package com.wb.domainserver.common.prop;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 페이징 처리를 위한 properties
|
||||
*
|
||||
* @author 박철민
|
||||
* @since 2023-11-27
|
||||
* @version 1.0
|
||||
* @see
|
||||
*
|
||||
* <pre>
|
||||
* == (Modification Information) == 개정이력
|
||||
*
|
||||
* 수정일 수정자 수정내용
|
||||
* ------- -------- ---------------------------
|
||||
* 2023-11-27 박철민 최초 생성
|
||||
*
|
||||
* </pre>
|
||||
*/
|
||||
|
||||
@Data
|
||||
@ConfigurationProperties(prefix = "pagination")
|
||||
@Component
|
||||
public class PaginationProperties {
|
||||
/** 한 페이지당 게시되는 게시물 건 수 */
|
||||
private Integer pageUnit;
|
||||
/** 한 페이지당 노출되는 페이지 수 */
|
||||
private Integer pageSize;
|
||||
}
|
||||
Reference in New Issue
Block a user