using System;

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

		public class t_UserDataTableEx:Users.t_UserDataTable
		{
			//表名和字段名的常量
			public const string TableName_User="t_User";
			public const string FIELD_UserID="UserID";
			public const string FIELD_Name="Name";
			public const string FIELD_DepartmentID="DepartmentID";
			public const string FIELD_DepartmentName="DepartmentName";
			public const string FIELD_RoleID="RoleID";
			public const string FIELD_RoleName="RoleName";

			internal t_UserDataTableEx()
			{

			}
		}

		/// <summary>
		/// 用户角色
		/// </summary>
		public enum RoleEnum 
		{
			Administrator=1,  
			RegisterPerson,
			Doctor,
			Cashier
		}
	}
}
