修改模板
This commit is contained in:
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…
x
Reference in New Issue
Block a user