mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-07 10:10:50 +08:00
21 lines
902 B
C#
21 lines
902 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Yi.Framework.Template.Abstract;
|
|
using Yi.Framework.Template.ConstClasses;
|
|
|
|
namespace Yi.Framework.Template.Provider.Server
|
|
{
|
|
public class UpdateInputVoTemplateProvider : ModelTemplateProvider
|
|
{
|
|
public UpdateInputVoTemplateProvider(string modelName, string entityName, string nameSpaces) : base(modelName, entityName, nameSpaces)
|
|
{
|
|
BuildPath = $@"{TemplateConst.BuildRootPath}\{nameSpaces}.Application.Contracts\{TemplateConst.ModelName}\Dtos\{TemplateConst.EntityName}UpdateInputVo.cs";
|
|
TemplatePath = $@"..\..\..\Template\Server\UpdateInputVoTemplate.txt";
|
|
EntityPath = $@"{TemplateConst.BuildEntityPath}\{nameSpaces}.Domain\{TemplateConst.ModelName}\Entities\{TemplateConst.EntityName}Entity.cs";
|
|
}
|
|
}
|
|
}
|