#set($nofield=1)##为1表示不输出FFieldName字段
#set($samePass=1)##为1表示 实体名跟标识名一致时不输出实体名
namespace ${Namespace} {
	/// <summary>
	/// ${Form.FName}
	/// </summary>
	public static class ${Form.FID}{
		/// <summary>
		/// ${Form.FID}
		/// </summary>
		public const string FormId="$Form.FID";
		#foreach($f in $Form.Entitys)

		/// <summary>
		/// ${f.FName}:$f.FKey
		/// </summary>
		public const string $f.FKey ="$f.FKey";		
		#if($f.FProperty=="" || ($samePass==1 && $f.FProperty==$f.FKey))
		#else
		
		/// <summary>
		/// ${f.FName}_Property:$f.FProperty
		/// </summary>		
		public const string ${f.FKey}_Property ="$f.FProperty";
		#end		
		#if($f.FFieldName=="" || $nofield==1)
		#else
		
		/// <summary>
		/// ${f.FName}_FieldName:$f.FFieldName
		/// </summary>
		public const string ${f.FKey}_FieldName ="$f.FFieldName";
		#end
		#foreach($f2 in $f.Fields) 
		
		/// <summary>
		/// ${f2.FName}:$f2.FKey
		/// </summary>
		public const string $f2.FKey ="$f2.FKey";
		#if($f2.FProperty=="" || ($samePass==1 && $f2.FProperty==$f2.FKey))
		#else
		
		/// <summary>
		/// ${f2.FName}_Property:$f2.FProperty
		/// </summary>
		public const string ${f2.FKey}_Property ="$f2.FProperty";
		#end
		#if($f2.FFieldName=="" || $nofield==1)
		#else
		
		/// <summary>
		/// ${f2.FName}_FieldName:$f2.FFieldName
		/// </summary>
		public const string ${f2.FKey}_FieldName ="$f2.FFieldName";	
		#end
		#end
		#end
		
	}
}