using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Sys
{
///
/// 用户信息
/// 创建者:郭佳伟
/// 创建日期:2013.1.23
///
[Serializable]
[DBTable(TableName = "T_QM_USER", TimeStampColumn = "UpdateTime")]
public class User : BaseEntity
{
///
/// 用户主键
///
[DBColumn(ColumnName = "USERID", DataType = DbType.String, IsKey = true)]
public string UserID { get; set; }
///
/// 登陆者编号
///
[DBColumn(ColumnName = "LOGINUSERID", DataType = DbType.String)]
public string LoginUserID { get; set; }
///
/// 用户姓名
///
[DBColumn(ColumnName = "USERNAME", DataType = DbType.String)]
public string UserName { get; set; }
///
/// 用户姓名
///
[DBColumn(ColumnName = "USERDES", DataType = DbType.String)]
public string UserDes { get; set; }
///
/// 员工号
///
[DBColumn(ColumnName = "EMPLOYEENO", DataType = DbType.String)]
public string EmployeeNo { get; set; }
///
/// 用户类别
///
[DBColumn(ColumnName = "USERTYPE", DataType = DbType.String)]
public string UserType { get; set; }
///
/// 密码
///
[DBColumn(ColumnName = "PASSWORD", DataType = DbType.String)]
public string PassWord { get; set; }
///
/// 所在机构
///
[DBColumn(ColumnName = "ORGANID", DataType = DbType.String)]
public string OrgaID { get; set; }
///
/// 所在机构描述
///
public string OrgaDESC { get; set; }
///
/// 该组织机构的位置
/// 是否是主组织机构
///
public string IsMainOrga { get; set; }
///
/// 电话
///
[DBColumn(ColumnName = "TEL", DataType = DbType.String)]
public string Tel { get; set; }
///
/// 移动电话
///
[DBColumn(ColumnName = "MOBILETEL", DataType = DbType.String)]
public string MobileTel { get; set; }
///
/// 电子邮件
///
[DBColumn(ColumnName = "EMAIL", DataType = DbType.String)]
public string Email { get; set; }
///
/// 删除标识
///
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string DelFlag { get; set; }
///
/// 激活标识
///
[DBColumn(ColumnName = "ACTIVATEFLG", DataType = DbType.String)]
public string ActivateFlg { get; set; }
///
/// 创建日期
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime,DefaultValue=DataDefaultValue.SysDate)]
public DateTime CreateTime { get; set; }
///
/// 创建人
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CreateUser { get; set; }
///
/// 更新日期
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UpdateTime { get; set; }
///
/// 更新人
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UpdateUser { get; set; }
///
/// 角色列表
///
public List Roles { get; set; }
///
/// 权限列表
///
public List OptionAuthority { get; set; }
///
/// 当前登录者所具有的权限列表
///
public List Authoritys { get; set; }
///
/// 组织机构列表
///
public List Orgas { get; set; }
///
/// 接口参数列表
///
public List paps { get; set; }
}
}