修改模板

main
forget_the_bright 11 months ago
parent 3f65db5432
commit 41981582e6

@ -1,5 +1,6 @@
using System; using System;
using FluentValidation; using FluentValidation;
using System.ComponentModel;
using NCA_MES_Models.CommonUtils.DB.DBAttribute; using NCA_MES_Models.CommonUtils.DB.DBAttribute;
namespace ${namespace_name} namespace ${namespace_name}
@ -15,6 +16,7 @@ $foreach(filedInfo in filedInfos)
/// <summary> /// <summary>
/// ${filedInfo["comment"]} /// ${filedInfo["comment"]}
/// </summary> /// </summary>
[Description("${filedInfo["comment"]}")]
$if(filedInfo["is_primary_key"]=="true") $if(filedInfo["is_primary_key"]=="true")
[TableId] [TableId]
$end $end

Loading…
Cancel
Save