using System;
using NCA_MES_Models.CommonUtils.DB.DBAttribute;
namespace ${namespace_name}
{
///
/// ${table_comment}
///
[TableName("${sql_table_name}")]
public class ${table_name} : DBBaseModel<${table_name}>
{
$foreach(filedInfo in filedInfos)
///
/// ${filedInfo["comment"]}
///
$if(filedInfo["is_primary_key"]=="true")
[TableId]
$end
$if(filedInfo["is_nullable"]=="true")
[NotEmpty]
$end
[TableField("${filedInfo["sql_field_name"]}", "${filedInfo["comment"]}")]
public ${filedInfo["type_name"]} ${filedInfo["field_name"]} { get; set; }
$end
}
}