package com.caliverse.admin.domain.request;

import com.caliverse.admin.domain.entity.BlackList;
import com.caliverse.admin.domain.entity.PERIOD;
import com.caliverse.admin.domain.entity.SANCTIONS;
import com.caliverse.admin.domain.entity.SANCTIONSTYPE;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

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

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BlackListRequest {
    @Setter
    private String guid;
    @Setter
    private String nickname;
    @Setter
    private BlackList.STATUSTYPE status;

    private SANCTIONSTYPE type;
    private PERIOD period;
    private SANCTIONS sanctions;
    @JsonProperty("start_dt")
    private LocalDateTime startDt;
    @JsonProperty("end_dt")
    private LocalDateTime endDt;

    @Setter
    @JsonProperty("create_by")
    private Long createBy;

    // 삭제용
    @JsonProperty("list")
    private List<BlackList> blackList;

    public enum POSTTYPE{
        SINGLE,
        MULTIPLE
    }


}
