package com.caliverse.admin.domain.request;

import com.caliverse.admin.domain.entity.Item;
import com.caliverse.admin.domain.entity.Event;
import com.caliverse.admin.domain.entity.Message;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class EventRequest {

    private Long id;
    @JsonProperty("mail_list")
    private List<Message> mailList;
    @JsonProperty("item_list")
    private List<Item> itemList;            // 아이템
    @JsonProperty("event_type")
    private Event.EVENTTYPE eventType;
    @JsonProperty("start_dt")
    private LocalDateTime startDt;   // 시작 시간
    @JsonProperty("end_dt")
    private LocalDateTime endDt;   // 종료 시간

    @JsonProperty("create_by")
    private Long createBy;
    @JsonProperty("create_dt")
    private LocalDateTime createDt;
    @JsonProperty("update_by")
    private Long updateBy;
    @JsonProperty("update_dt")
    private LocalDateTime updateDt;

    //삭제용 id
    private List<Event> list;

}
