package com.bio.bio_backend.domain.base.memberauthgroup.service;

import com.bio.bio_backend.domain.base.memberauthgroup.dto.MemberAuthGroupDto;
import java.util.List;

public interface MemberAuthGroupService {
    MemberAuthGroupDto create(MemberAuthGroupDto dto);

    MemberAuthGroupDto getById(Long id);

    List<MemberAuthGroupDto> getAll();

    MemberAuthGroupDto update(Long id, MemberAuthGroupDto dto);

    void delete(Long id);

    /**
     * 특정 memberOid의 기존 매핑을 모두 삭제하고, 전달된 authGroupOid 목록으로 재등록
     */
    void replaceMemberAuthGroups(Long memberOid, List<Long> authGroupOids);
}
