AIMS/AIMSEntity/ObjectQuery/NotesRecordMap.cs
leomon ca639ee117 禁食水28 营养中等
评估时间默认入室加一小时
麻醉已转入的情况下 护士再转入判断
门诊床号-
金州登记表
2023-05-17 01:40:14 +08:00

50 lines
1.4 KiB
C#

using System;
using System.Collections;
using System.Collections.Generic;
namespace AIMSObjectQuery
{
internal partial class NotesRecordMap:IMap
{
private Dictionary<string, string> dictionary = new Dictionary<string, string>();
public NotesRecordMap()
{
dictionary.Add("id", "Id");
dictionary.Add("notename", "NoteName");
dictionary.Add("recordtime", "RecordTime");
dictionary.Add("content1", "Content1");
dictionary.Add("content2", "Content2");
dictionary.Add("content3", "Content3");
dictionary.Add("content4", "Content4");
dictionary.Add("content5", "Content5");
dictionary.Add("content6", "Content6");
dictionary.Add("content7", "Content7");
dictionary.Add("content8", "Content8");
dictionary.Add("content9", "Content9");
dictionary.Add("execwork", "ExecWork");
dictionary.Add("operatorid", "OperatorId");
dictionary.Add("operatortime", "OperatorTime");
dictionary.Add("remark", "Remark");
}
#region IMap
public string this[string propertyName]
{
get
{
try
{
return dictionary[propertyName.ToLower()];
}
catch (KeyNotFoundException)
{
throw new Exception(propertyName + "属性不存在");
}
}
}
#endregion
}
}