You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
741 B
29 lines
741 B
2 years ago
|
using System;
|
||
|
using Magic.Core;
|
||
|
|
||
|
namespace @Model.NameSpace
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// @(@Model.BusName)输出参数
|
||
|
/// </summary>
|
||
|
public class @(@Model.ClassName)Dto
|
||
|
{
|
||
|
@foreach (var column in Model.TableField){
|
||
|
if(@column.EffectType == "fk" && @column.FkEntityName != "" && @column.FkColumnName != ""){
|
||
|
@:/// <summary>
|
||
|
@:/// @column.ColumnComment
|
||
|
@:/// </summary>
|
||
|
@:public @(@column.FkColumnNetType) @(@column.FkEntityName)@(@column.FkColumnName) { get; set; }
|
||
|
@:
|
||
|
}
|
||
|
}
|
||
|
@foreach (var column in Model.TableField){
|
||
|
@:/// <summary>
|
||
|
@:/// @column.ColumnComment
|
||
|
@:/// </summary>
|
||
|
@:public @column.NetType @column.ColumnName { get; set; }
|
||
|
@:
|
||
|
}
|
||
|
}
|
||
|
}
|