package io.wdd.server.coreService;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.wdd.server.beans.po.ProjectInfoPO;
import io.wdd.server.beans.request.ProjectQueryEntity;
import io.wdd.server.beans.vo.ProjectInfoVO;

import java.util.List;

public interface CoreProjectService {

    // 获取所有的角色
    List<ProjectInfoPO> projectGetAll();

    Page<ProjectInfoPO> projectQueryByEntity(ProjectQueryEntity projectQueryEntity);

    ProjectInfoPO projectGetOne(Long projectId);

    boolean projectCreate(ProjectInfoVO projectInfoVO);

    boolean projectUpdate(ProjectInfoPO projectInfoPO);

    boolean projectDelete(Long projectId);

}
