48 lines
1.1 KiB
Java
48 lines
1.1 KiB
Java
package com.caliverse.admin.domain.response;
|
|
|
|
import com.caliverse.admin.domain.entity.Event;
|
|
import com.caliverse.admin.domain.entity.Item;
|
|
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.util.List;
|
|
|
|
@Data
|
|
@Builder
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
public class EventResponse {
|
|
private int status;
|
|
|
|
private String result;
|
|
|
|
@JsonProperty("data")
|
|
private ResultData resultData;
|
|
|
|
@Data
|
|
@Builder
|
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
|
public static class ResultData{
|
|
|
|
private String message;
|
|
|
|
@JsonProperty("detail")
|
|
private Event event;
|
|
|
|
@JsonProperty("list")
|
|
private List<Event> eventList;
|
|
private int total;
|
|
@JsonProperty("total_all")
|
|
private int totalAll;
|
|
@JsonProperty("page_no")
|
|
private int pageNo;
|
|
|
|
@JsonProperty("item_info")
|
|
private Item itemInfo;
|
|
}
|
|
}
|