using System; using Myshipping.Core; namespace @Model.NameSpace { /// /// @(@Model.BusName)输出参数 /// public class @(@Model.ClassName)Dto { @foreach (var column in Model.TableField){ if(@column.EffectType == "fk" && @column.FkEntityName != "" && @column.FkColumnName != ""){ @:/// @:/// @column.ColumnComment @:/// @:public @(@column.FkColumnNetType) @(@column.FkEntityName)@(@column.FkColumnName) { get; set; } @: } } @foreach (var column in Model.TableField){ @:/// @:/// @column.ColumnComment @:/// @:public @column.NetType@(column.NetType!="string"&&column.WhetherRequired=="N"?"?":"") @column.ColumnName { get; set; } @: } } }