新增jnt模板引擎

This commit is contained in:
不做码农
2021-11-29 21:54:01 +08:00
parent 7eadff782e
commit 6772266b95
7 changed files with 95 additions and 53 deletions

View File

@@ -1,24 +1,24 @@
using System;
using System.Collections.Generic;
using {ModelsNamespace}.Dto;
using {ModelsNamespace}.Models;
using ${ModelsNamespace}.Dto;
using ${ModelsNamespace}.Models;
namespace {DtosNamespace}.Dto
namespace ${DtosNamespace}.Dto
{
/// <summary>
/// {FunctionName}输入对象模型
/// ${FunctionName}输入对象模型
/// </summary>
public class {ModelTypeName}Dto
public class ${ModelTypeName}Dto
{
{PropertyName}
${PropertyName}
}
/// <summary>
/// {FunctionName}查询对象模型
/// ${FunctionName}查询对象模型
/// </summary>
public class {ModelTypeName}QueryDto: PagerInfo
public class ${ModelTypeName}QueryDto: PagerInfo
{
{QueryProperty}
${QueryProperty}
public DateTime? BeginTime { get; set; }
public DateTime? EndTime { get; set; }
}