package com.caliverse.admin.domain.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

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

@Getter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupRequest {
    private Long id;
    @JsonProperty("group_nm")
    private String groupNm;
    private String description;
    @Setter
    private Long createBy;

    @JsonProperty("list")
    private List<GroupList> groupList;
    @Getter
    public static class GroupList{
        @JsonProperty("group_id")
        private Long groupId;
        @JsonProperty("auth_id")
        private Long authId;
    }

}
