260915_01_ENH: 리스트 다운로드 최신 결과 및 컨택 이력 엑셀 개선
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.kri.contact.server.dto.list;
|
||||
|
||||
import com.kri.contact.server.common.enums.ListEventHistoryBase;
|
||||
import com.kri.contact.server.common.enums.ListEventHistoryOrder;
|
||||
import com.kri.contact.server.common.enums.ResultCodeType;
|
||||
import com.kri.contact.server.dto.common.DateRangeDto;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
@@ -31,7 +32,14 @@ public class ListEventHistDownloadRequestDto {
|
||||
@Schema(description = "조회 기준")
|
||||
private ListEventHistoryBase searchBase;
|
||||
|
||||
@Schema(description = "이력 정렬 순서. ASC=오래된 이력 우선, DESC=최근 이력 우선", defaultValue = "ASC")
|
||||
private ListEventHistoryOrder historyOrder = ListEventHistoryOrder.ASC;
|
||||
|
||||
@Valid
|
||||
@Schema(description = "조회 기간")
|
||||
private DateRangeDto dateRange;
|
||||
|
||||
public ListEventHistoryOrder getHistoryOrder() {
|
||||
return historyOrder == null ? ListEventHistoryOrder.ASC : historyOrder;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user