package io.wdd.server.coreService;

import io.wdd.server.beans.request.ProjectQueryEntity;
import io.wdd.server.beans.vo.ProjectServerVO;

import java.util.List;

public interface CoreProjectServerService {

    // 查询所有项目-服务器绑定关系
    List<ProjectServerVO> projectServerAll();

    ProjectServerVO projectServerQuery(ProjectQueryEntity projectQueryEntity);

    ProjectServerVO projectServerOne(Long projectId);

    boolean projectServerCreate(Long projectId, Long serverId);

    boolean projectServerCreateMulti(Long projectId, List<Long> serverIdList);

    boolean projectServerUpdate(Long projectId, Long serverId);

    boolean projectServerDelete(Long projectId, Long serverId);

}
