using System;
using System.Data;
using System.Runtime.Serialization;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity;
using QMAPP.Entity.Sys;
namespace QMAPP.MD.Entity.Sys
{
///
/// 用户信息
/// 创建者:李炳海
/// 创建日期:2013.1.17
///
[DBTable(TableName = "T_QM_USERINFO", TimeStampColumn = "UpdateDate")]
public class UserInfo : BaseEntity
{
///
/// 用户主键
///
[DBColumn(ColumnName = "USERID", DataType = DbType.String, IsKey = true)]
public string UserID { get; set; }
///
/// 用户名
///
[DBColumn(ColumnName = "USERNAME", DataType = DbType.String)]
public string UserName { get; set; }
///
/// 员工工号
///
[DBColumn(ColumnName = "EMPLOYEENO", DataType = DbType.String)]
public string EmployeeNO { get; set; }
///
/// 员工姓名
///
[DBColumn(ColumnName = "USERDES", DataType = DbType.String)]
public string UserDes { get; set; }
///
/// 助记码
///
[DBColumn(ColumnName = "FASTKEY", DataType = DbType.String)]
public string FastKey { get; set; }
///
/// 密码
///
[DBColumn(ColumnName = "PASSWORD", DataType = DbType.String)]
public string PassWord { get; set; }
///
/// 管理员标志
///
[DBColumn(ColumnName = "ISADMIN", DataType = DbType.String)]
public string IsAdmin { get; set; }
///
/// 所在机构
///
[DBColumn(ColumnName = "ORGANID", DataType = DbType.String)]
public string OrganID { get; set; }
///
/// 电话号码
///
[DBColumn(ColumnName = "TELEPHONE", DataType = DbType.String)]
public string TelePhone { get; set; }
///
/// 备注
///
[DBColumn(ColumnName = "REMARK", DataType = DbType.String)]
public string Remark { get; set; }
///
/// 删除标志
///
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string FlgDel { get; set; }
/// 创建日期
///
[DBColumn(ColumnName = "CREATEDATE", DataType = DbType.DateTime,DefaultValue=DataDefaultValue.SysDate)]
public DateTime CreateDate { get; set; }
///
/// 创建人
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CreateUser { get; set; }
///
/// 更新日期
///
[DBColumn(ColumnName = "UPDATEDATE", DataType = DbType.DateTime)]
public DateTime UpdateDate { get; set; }
///
/// 更新人
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UpdateUser { get; set; }
///
/// 权限设置
///
public List Powers { get; set; }
///
/// 角色列表
///
public List Roles { get; set; }
///
/// 仓库权限
///
public List CorpPowers { get; set; }
///
/// 路线权限
///
public List LinePowers { get; set; }
///
/// 零件类别权限
///
public List MatSortPowers { get; set; }
///
/// 角色列表
///
public string ROLELIST { get; set; }
///
/// 仓库列表
///
public string CORPLIST { get; set; }
///
/// 路线列表
///
public string LINELIST { get; set; }
///
/// 零件类别列表
///
public string MatSortLIST { get; set; }
//仓库
public string CorpID {get;set;}
public string CORPNAME { get; set; }
///
/// 是否为新记录
///
public bool IsNewInfo { get; set; }
///
/// 错误信息
///
public string InfoError { get; set; }
}
}