package com.erp.ai.mapper;

import com.erp.ai.model.AiAgentGroupMember;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AiAgentGroupMemberMapper {
    List<AiAgentGroupMember> listByGroupId(@Param("groupId") long groupId);

    AiAgentGroupMember getById(@Param("id") long id);

    int insert(AiAgentGroupMember member);

    int update(AiAgentGroupMember member);

    int delete(@Param("id") long id);

    int countByGroupId(@Param("groupId") long groupId);
}
