|
|
|
@ -751,16 +751,25 @@ namespace " + strNameSpace + @" |
|
|
|
|
build.Append("*└──────────────────────────────────┘\r\n"); |
|
|
|
|
build.Append("*/ \r\n"); |
|
|
|
|
build.Append("\r\n"); |
|
|
|
|
build.Append("namespace Tiobon.Core.Model.Models\r\n"); |
|
|
|
|
build.Append("namespace Tiobon.Core.Model.Models;\r\n"); |
|
|
|
|
build.Append("\r\n"); |
|
|
|
|
build.Append("/// <summary>\r\n"); |
|
|
|
|
build.Append("/// " + TableCnName + "(Dto.View)\r\n"); |
|
|
|
|
build.Append("/// </summary>\r\n"); |
|
|
|
|
build.Append("public class " + tableName + "Dto : " + tableName + "\r\n"); |
|
|
|
|
build.Append("{\r\n"); |
|
|
|
|
|
|
|
|
|
build.Append("/// <summary>\r\n"); |
|
|
|
|
build.Append("/// 创建信息\r\n"); |
|
|
|
|
build.Append("/// </summary>\r\n"); |
|
|
|
|
build.Append("public string CreateDataInfo { get; set; }\r\n"); |
|
|
|
|
build.Append("\r\n"); |
|
|
|
|
build.Append(" /// <summary>\r\n"); |
|
|
|
|
build.Append(" /// " + TableCnName + "(Dto.View)\r\n"); |
|
|
|
|
build.Append(" /// </summary>\r\n"); |
|
|
|
|
build.Append(" public class " + tableName + "Dto : " + tableName + "\r\n"); |
|
|
|
|
build.Append(" {\r\n"); |
|
|
|
|
|
|
|
|
|
build.Append(" }\r\n"); |
|
|
|
|
build.Append("/// <summary>\r\n"); |
|
|
|
|
build.Append("/// 修改信息\r\n"); |
|
|
|
|
build.Append("/// </summary>\r\n"); |
|
|
|
|
build.Append("public string UpdateDataInfo { get; set; }\r\n"); |
|
|
|
|
|
|
|
|
|
build.Append("}\r\n"); |
|
|
|
|
|
|
|
|
|
ls.Add(tableName + ".Dto.View", build.ToString()); |
|
|
|
|