월드이벤트, 랭킹 스케줄 entity 추가
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
package com.caliverse.admin.domain.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@Builder
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class RankingSchedule {
|
||||
private Long id;
|
||||
@JsonProperty("row_num")
|
||||
private Integer rowNum;
|
||||
private String guid;
|
||||
private String title;
|
||||
@JsonProperty("meta_id")
|
||||
private Integer metaId;
|
||||
@JsonProperty("event_action_id")
|
||||
private Integer eventActionId;
|
||||
// 시작 일자
|
||||
@JsonProperty("start_dt")
|
||||
private LocalDateTime startDt;
|
||||
// 종료 일자
|
||||
@JsonProperty("end_dt")
|
||||
private LocalDateTime endDt;
|
||||
@JsonProperty("base_dt")
|
||||
private LocalDateTime baseDt;
|
||||
//이벤트 상태
|
||||
private EVENT_STATUS status;
|
||||
@JsonProperty("refresh_interval")
|
||||
private Integer refreshInterval;
|
||||
@JsonProperty("initialization_interval")
|
||||
private Integer initializationInterval;
|
||||
@JsonProperty("snapshot_interval")
|
||||
private Integer snapshotInterval;
|
||||
|
||||
private boolean deleted;
|
||||
|
||||
@JsonProperty("create_by")
|
||||
private String createBy;
|
||||
@JsonProperty("create_dt")
|
||||
private LocalDateTime createDt;
|
||||
@JsonProperty("update_by")
|
||||
private String updateBy;
|
||||
@JsonProperty("update_dt")
|
||||
private LocalDateTime updateDt;
|
||||
|
||||
public enum EVENT_STATUS {
|
||||
WAIT,
|
||||
FINISH,
|
||||
FAIL,
|
||||
RUNNING,
|
||||
;
|
||||
}
|
||||
}
|
||||
@@ -15,7 +15,7 @@ import java.util.List;
|
||||
@Data
|
||||
@Builder
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class Event {
|
||||
public class RewardEvent {
|
||||
private Long id;
|
||||
@JsonProperty("row_num")
|
||||
private Long rowNum;
|
||||
@@ -2,6 +2,7 @@ package com.caliverse.admin.domain.entity;
|
||||
|
||||
public enum SEARCHTYPE {
|
||||
NAME,
|
||||
NICKNAME,
|
||||
EMAIL,
|
||||
GUID,
|
||||
ACCOUNT,
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
package com.caliverse.admin.domain.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Data
|
||||
@Builder
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
public class WorldEvent {
|
||||
private Long id;
|
||||
@JsonProperty("row_num")
|
||||
private Integer rowNum;
|
||||
private String title;
|
||||
@JsonProperty("global_event_action_id")
|
||||
private Integer globalEventActionId;
|
||||
@JsonProperty("personal_event_action_id")
|
||||
private Integer personalEventActionId;
|
||||
// 시작 일자
|
||||
@JsonProperty("start_dt")
|
||||
private LocalDateTime startDt;
|
||||
// 종료 일자
|
||||
@JsonProperty("end_dt")
|
||||
private LocalDateTime endDt;
|
||||
//이벤트 상태
|
||||
private EVENT_STATUS status;
|
||||
@JsonProperty("max_point")
|
||||
private Integer maxPoint;
|
||||
|
||||
private boolean deleted;
|
||||
|
||||
@JsonProperty("create_by")
|
||||
private String createBy;
|
||||
@JsonProperty("create_dt")
|
||||
private LocalDateTime createDt;
|
||||
@JsonProperty("update_by")
|
||||
private String updateBy;
|
||||
@JsonProperty("update_dt")
|
||||
private LocalDateTime updateDt;
|
||||
|
||||
public enum EVENT_STATUS {
|
||||
WAIT,
|
||||
FINISH,
|
||||
FAIL,
|
||||
RUNNING,
|
||||
;
|
||||
}
|
||||
}
|
||||
@@ -53,5 +53,7 @@ public enum LogAction {
|
||||
DATA_INIT,
|
||||
DATA,
|
||||
USER,
|
||||
ITEM
|
||||
ITEM,
|
||||
WORLD_EVENT,
|
||||
RANKING_SCHEDULE
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user