using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Dilon.Core.Service.CodeGen
{
    public interface ICodeGenService
    {
        Task AddCodeGen(AddCodeGenInput input);
        Task DeleteCodeGen(List<DeleteCodeGenInput> inputs);
        Task<SysCodeGen> GetCodeGen([FromQuery] QueryCodeGenInput input);
        List<TableColumnOuput> GetColumnList(AddCodeGenInput input);
        List<TableOutput> GetTableList();
        Task<dynamic> QueryCodeGenPageList([FromQuery] CodeGenInput input);
        void RunLocal(SysCodeGen input);
        Task UpdateCodeGen(UpdateCodeGenInput input);
    }
}