feat: 添加webfirst字段生成器
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Yi.Framework.Module.WebFirstManager.Impl
|
||||
/// 字段管理
|
||||
/// </summary>
|
||||
[ApiDescriptionSettings("WebFirstManager")]
|
||||
public class FieldService:CrudAppService<FieldEntity,FieldGetOutDto,FieldGetListOutputDto,long,FieldGetListInput,FieldCreateInput,FieldUpdateInput> ,IFieldService,ITransient,IDynamicApiController
|
||||
public class FieldService:CrudAppService<FieldEntity, FieldDto,long, FieldGetListInput> ,IFieldService,ITransient,IDynamicApiController
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,11 +6,15 @@ using System.Threading.Tasks;
|
||||
using Furion.DependencyInjection;
|
||||
using Furion.DynamicApiController;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Yi.Framework.Infrastructure.Ddd.Services;
|
||||
using Yi.Framework.Module.WebFirstManager.Dtos.Table;
|
||||
using Yi.Framework.Module.WebFirstManager.Dtos.Template;
|
||||
using Yi.Framework.Module.WebFirstManager.Entities;
|
||||
|
||||
namespace Yi.Framework.Module.WebFirstManager.Impl
|
||||
{
|
||||
[ApiDescriptionSettings("WebFirstManager")]
|
||||
public class TableService:ITableService, ITransient,IDynamicApiController
|
||||
public class TableService : CrudAppService<TableEntity, TableDto, long, TableGetListInput> ,ITableService, ITransient, IDynamicApiController
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,11 +6,14 @@ using System.Threading.Tasks;
|
||||
using Furion.DependencyInjection;
|
||||
using Furion.DynamicApiController;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Yi.Framework.Infrastructure.Ddd.Services;
|
||||
using Yi.Framework.Module.WebFirstManager.Dtos.Template;
|
||||
using Yi.Framework.Module.WebFirstManager.Entities;
|
||||
|
||||
namespace Yi.Framework.Module.WebFirstManager.Impl
|
||||
{
|
||||
[ApiDescriptionSettings("WebFirstManager")]
|
||||
public class TemplateService: ITemplateService, IDynamicApiController, ITransient
|
||||
public class TemplateService : CrudAppService<TemplateEntity, TemplateDto, long, TemplateGetListInput>, ITemplateService, IDynamicApiController, ITransient
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,10 +28,10 @@ namespace Yi.Framework.Module.WebFirstManager.Impl
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 一键构建生成代码
|
||||
/// Web To Code
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task PostBuildCodeAsync()
|
||||
public async Task PostWebBuildCodeAsync()
|
||||
{
|
||||
//获取全部表
|
||||
var tables = await _tableRepository.GetListAsync();
|
||||
@@ -44,10 +44,27 @@ namespace Yi.Framework.Module.WebFirstManager.Impl
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 一键构建生成表
|
||||
/// Web To Db
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task PostBuildTableAsync()
|
||||
public async Task PostWebBuildDbAsync()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Code To Web
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task PostCodeBuildWebAsync()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Code To Db
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task PostCodeBuildDbAsync()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user