using System;

namespace HISClinic.DataModel
{
	/// <summary>
	/// RegistrationsEx 的摘要说明。
	/// </summary>
	public class RegistrationsEx:Registrations
	{
		public RegistrationsEx():base()
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
		}

		public class t_RegistrationDataTableEx:Registrations.t_RegistrationDataTable
		{
			//表名和字段名的常量
			public const string TableName_Registration="t_Registration";
			public const string FIELD_RegistrationID="RegistrationID";
			public const string FIELD_PatientID="PatientID";
			public const string FIELD_PatientName="PatientName";
			public const string FIELD_RegistrationTypeID="RegistrationTypeID";
			public const string FIELD_RegistrationTypeName="RegistrationTypeName";
			public const string FIELD_DeparptmentID="DeparptmentID";
			public const string FIELD_DepartmentName="DepartmentName";
			public const string FIELD_RegisterDate="RegisterDate";
			public const string FIELD_RegistrarID="RegistrarID";
			public const string FIELD_RegistrarName="RegistrarName";
			public const string FIELD_DoctorID="DoctorID";
			public const string FIELD_DoctorName="DoctorName";
			public const string FIELD_SeeDoctorDate="SeeDoctorDate";
			public const string FIELD_Status="Status";

			internal t_RegistrationDataTableEx()
			{

			}			
		}

		//挂号的状态
		public enum RegistrationStatus
		{
			Available=1,
			Used
		}
	}
}
