48 lines
1.3 KiB
C#
48 lines
1.3 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
namespace AIMSObjectQuery
|
|
{
|
|
internal partial class FeesRecordReportMap:IMap
|
|
{
|
|
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
|
|
public FeesRecordReportMap()
|
|
{
|
|
dictionary.Add("id", "Id");
|
|
dictionary.Add("starttime", "StartTime");
|
|
dictionary.Add("endtime", "EndTime");
|
|
dictionary.Add("feetype", "FeeType");
|
|
dictionary.Add("chargtype", "ChargType");
|
|
dictionary.Add("pagetype", "PageType");
|
|
dictionary.Add("pageno", "PageNo");
|
|
dictionary.Add("execdepartmentid", "ExecDepartmentId");
|
|
dictionary.Add("execdepartmentname", "ExecDepartmentName");
|
|
dictionary.Add("operatorid", "OperatorId");
|
|
dictionary.Add("operatortime", "OperatorTime");
|
|
dictionary.Add("remark", "Remark");
|
|
dictionary.Add("remark2", "Remark2");
|
|
dictionary.Add("remark3", "Remark3");
|
|
}
|
|
|
|
#region IMap 成员
|
|
|
|
public string this[string propertyName]
|
|
{
|
|
get
|
|
{
|
|
try
|
|
{
|
|
return dictionary[propertyName.ToLower()];
|
|
}
|
|
catch (KeyNotFoundException)
|
|
{
|
|
throw new Exception(propertyName + "属性不存在");
|
|
}
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|