package com.ruoyi.generator.service.front;

import java.util.List;
import com.ruoyi.generator.domain.SysModule;
import com.ruoyi.generator.domain.front.FrontProject;
import com.ruoyi.generator.domain.front.dto.DatabaseDesignResponse;
import com.ruoyi.generator.domain.front.dto.FrontProjectCreateRequest;
import com.ruoyi.generator.domain.front.dto.FrontProjectUpdateRequest;

public interface IFrontProjectService
{
    public FrontProject createProject(Long userId, FrontProjectCreateRequest request);
    public List<FrontProject> listProjects(Long userId);
    public FrontProject getProject(Long userId, Long projectId);
    public int updateProject(Long userId, Long projectId, FrontProjectUpdateRequest request);
    public int deleteProject(Long userId, Long projectId);
    public DatabaseDesignResponse getDatabase(Long userId, Long projectId);
    public DatabaseDesignResponse saveDatabase(Long userId, Long projectId, DatabaseDesignResponse request);
    public List<SysModule> listAvailableModules();
}
