using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QMFrameWork.Data.Attributes;
namespace QMAPP.Entity.Sys
{
///
/// 用户组织机构信息
/// 创建者:郭佳伟
/// 创建日期:2012.02.01
///
[Serializable]
[DBTable(TableName = "T_QM_USERORGAIZATION", TimeStampColumn = "UpdateTime")]
public class UserOrgaization : BaseEntity
{
///
/// 用户编号
///
[DBColumn(ColumnName = "USERID", DataType = DbType.String)]
public string UserID { get; set; }
///
/// 用户描述
///
public string UserName { get; set; }
///
/// 组织机构编号
///
[DBColumn(ColumnName = "ORGAID", DataType = DbType.String)]
public string OrgaID { get; set; }
///
/// 组织机构描述
///
public string OrgaDESC { get; set; }
///
/// 是否主组织机构
///
[DBColumn(ColumnName = "ISMAINORGA", DataType = DbType.String)]
public string IsMainOgra { get; set; }
///
/// 创建日期
///
[DBColumn(ColumnName = "CREATETIME", DataType = DbType.Date)]
public DateTime CreateTime { get; set; }
///
/// 创建人
///
[DBColumn(ColumnName = "CREATEUSER", DataType = DbType.String)]
public string CreateUser { get; set; }
///
/// 更新日期
///
[DBColumn(ColumnName = "UPDATETIME", DataType = DbType.Date)]
public DateTime UpdateTime { get; set; }
///
/// 更新人
///
[DBColumn(ColumnName = "UPDATEUSER", DataType = DbType.String)]
public string UpdateUser { get; set; }
///
/// 用户与组织机构列表
///
public List Orgas { get; set; }
}
}