package com.yaoai.api.service;

import com.yaoai.api.dto.project.ProjectCreateRequest;
import com.yaoai.api.dto.project.ProjectDTO;
import com.yaoai.api.dto.project.ProjectUpdateRequest;

import java.util.List;

public interface ProjectService {

    ProjectDTO create(ProjectCreateRequest req);

    List<ProjectDTO> listByCurrentTenant();

    ProjectDTO getById(Long id);

    ProjectDTO update(Long id, ProjectUpdateRequest req);

    void delete(Long id);
}
