2023-01-21 18:09:21 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
2023-01-21 22:40:10 +08:00
|
|
|
|
using Yi.Framework.Template.Abstract;
|
2023-01-21 18:09:21 +08:00
|
|
|
|
using Yi.Framework.Template.ConstClasses;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Template.Provider.Server
|
|
|
|
|
|
{
|
|
|
|
|
|
public class UpdateInputVoTemplateProvider : ModelTemplateProvider
|
|
|
|
|
|
{
|
|
|
|
|
|
public UpdateInputVoTemplateProvider(string modelName, string entityName) : base(modelName, entityName)
|
|
|
|
|
|
{
|
2023-01-21 22:40:10 +08:00
|
|
|
|
BuildPath = $@"{TemplateConst.BuildRootPath}\Yi.Framework.Application.Contracts\{TemplateConst.ModelName}\Dtos\{TemplateConst.EntityName}UpdateInputVo.cs";
|
2023-01-21 18:09:21 +08:00
|
|
|
|
TemplatePath = $@"..\..\..\Template\Server\UpdateInputVoTemplate.txt";
|
2023-01-21 22:40:10 +08:00
|
|
|
|
EntityPath = $@"{TemplateConst.BuildEntityPath}\Yi.Framework.Domain\{TemplateConst.ModelName}\Entities\{TemplateConst.EntityName}Entity.cs";
|
2023-01-21 18:09:21 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|