AIMS/AIMSEntity/ObjectQuery/FeesRecordMap.cs
2023-03-21 08:50:33 +08:00

89 lines
3.3 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
namespace AIMSObjectQuery
{
internal partial class FeesRecordMap:IMap
{
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
public FeesRecordMap()
{
dictionary.Add("id", "Id");
dictionary.Add("patientid", "PatientId");
dictionary.Add("applyid", "ApplyId");
dictionary.Add("operationrecordid", "OperationRecordId");
dictionary.Add("applyorderno", "ApplyOrderNo");
dictionary.Add("feeisdrug", "FeeIsDrug");
dictionary.Add("feetype", "FeeType");
dictionary.Add("billcode", "BillCode");
dictionary.Add("groupid", "GroupID");
dictionary.Add("feetypeid", "FeeTypeId");
dictionary.Add("feeid", "FeeId");
dictionary.Add("feecode", "FeeCode");
dictionary.Add("feeserial", "FeeSerial");
dictionary.Add("unit", "Unit");
dictionary.Add("feenum", "FeeNum");
dictionary.Add("drugsite", "DrugSite");
dictionary.Add("feeid2", "FeeId2");
dictionary.Add("feeclass", "FeeClass");
dictionary.Add("unitprice", "UnitPrice");
dictionary.Add("chargeprice", "ChargePrice");
dictionary.Add("actualprice", "ActualPrice");
dictionary.Add("chargefee", "ChargeFee");
dictionary.Add("valuer", "Valuer");
dictionary.Add("billingdeptid", "BillingDeptId");
dictionary.Add("billingdept", "BillingDept");
dictionary.Add("billingworkid", "BillingWorkId");
dictionary.Add("billingwork", "BillingWork");
dictionary.Add("happentime", "HappenTime");
dictionary.Add("enrolltime", "EnrollTime");
dictionary.Add("execdeptid", "ExecDeptId");
dictionary.Add("execdept", "ExecDept");
dictionary.Add("execworkid", "ExecWorkId");
dictionary.Add("execwork", "ExecWork");
dictionary.Add("execstate", "ExecState");
dictionary.Add("exectime", "ExecTime");
dictionary.Add("conclusion", "Conclusion");
dictionary.Add("isinsure", "IsInsure");
dictionary.Add("insureno", "InsureNO");
dictionary.Add("limitdrug", "LimitDrug");
dictionary.Add("drugtype", "DrugType");
dictionary.Add("isupload", "IsUpLoad");
dictionary.Add("remark", "Remark");
dictionary.Add("emergencyflag", "EmergencyFlag");
dictionary.Add("orderno", "OrderNo");
dictionary.Add("extend1", "Extend1");
dictionary.Add("extend2", "Extend2");
dictionary.Add("extend3", "Extend3");
dictionary.Add("extend4", "Extend4");
dictionary.Add("extend5", "Extend5");
dictionary.Add("orderstate", "OrderState");
dictionary.Add("operatorid", "OperatorId");
dictionary.Add("operatorno", "OperatorNo");
dictionary.Add("operatorname", "OperatorName");
dictionary.Add("chargname", "ChargName");
dictionary.Add("chargspec", "ChargSpec");
}
#region IMap
public string this[string propertyName]
{
get
{
try
{
return dictionary[propertyName.ToLower()];
}
catch (KeyNotFoundException)
{
throw new Exception(propertyName + "属性不存在");
}
}
}
#endregion
}
}