天津投入产出系统后端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

157 lines
4.5 KiB

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