修改模板
This commit is contained in:
parent
3f65db5432
commit
41981582e6
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using FluentValidation;
|
||||
using System.ComponentModel;
|
||||
using NCA_MES_Models.CommonUtils.DB.DBAttribute;
|
||||
|
||||
namespace ${namespace_name}
|
||||
@ -15,6 +16,7 @@ $foreach(filedInfo in filedInfos)
|
||||
/// <summary>
|
||||
/// ${filedInfo["comment"]}
|
||||
/// </summary>
|
||||
[Description("${filedInfo["comment"]}")]
|
||||
$if(filedInfo["is_primary_key"]=="true")
|
||||
[TableId]
|
||||
$end
|
||||
|
Loading…
x
Reference in New Issue
Block a user