package com.caliverse.admin.domain.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.util.List;

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AdminRequest {
    private List<AdminList> list;

    @Getter
    public static class AdminList{
        private String email;
        @JsonProperty("group_id")
        private Long groupId;
        @JsonProperty("is_approve")
        private Approve isApprove;
    }
    public enum Approve{
        APPROVE,
        REJECT;
    }
}
