#@ template language="C#" #>
<#@ assembly name="System.Core" #>
<#@ import namespace="System.Linq" #>
<#@ import namespace="System.Text" #>
<#@ import namespace="System.Collections.Generic" #>
using System;
using Abp.AutoMapper;
using Abp.Application.Services.Dto;
namespace <#=Model.ApplicationNamespace#>.Dto
{
<#
if(!string.IsNullOrEmpty(Model.HtmlPageTitle)){
#>
///
/// <#=Model.HtmlPageTitle#>
///
<# }
#> [AutoMapTo(typeof(<#=Model.ClassName#>)),AutoMapFrom(typeof(<#=Model.ClassName#>))]
public class <#=Model.FileName#>Dto: EntityDto<<#=Model.IdType#>>
{
<#
foreach (var item in Model.Columns)
{
if(!item.IsGenreated) continue;
if(!string.IsNullOrEmpty(item.Comment)){
#> ///
/// <#=item.Comment#>
///
<# }
#> public <#=item.AttrType#> <#=item.ColumnName#> { get; set; }
<#
}
#>
}
}