|
|
@ -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
|
|
|
|