using System; using System.Collections; using System.Collections.Generic; namespace AIMSObjectQuery { internal partial class FeesRecordMap:IMap { private Dictionary dictionary = new Dictionary(); 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"); } #region IMap 成员 public string this[string propertyName] { get { try { return dictionary[propertyName.ToLower()]; } catch (KeyNotFoundException) { throw new Exception(propertyName + "属性不存在"); } } } #endregion } }