using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QMFrameWork.Data.Attributes;
using QMAPP.Entity.Sys.Entity;
namespace QMAPP.Entity.Sys
{
///
/// 组织机构信息
/// 创建者:郭佳伟
/// 创建日期:2013.01.16
///
[Serializable]
[DBTable(TableName = "T_QM_ORGANIZATION", TimeStampColumn = "UpdateTime")]
public class Orgaization : BaseEntity
{
///
/// 组织机构编号
///
[DBColumn(ColumnName = "ORGAID", DataType = DbType.String, IsKey = true)]
public string OrgaID { get; set; }
///
/// 组织机构描述
///
[DBColumn(ColumnName = "ORGADESC", DataType = DbType.String)]
public string OrgaDESC { get; set; }
///
/// 激活标志
///
[DBColumn(ColumnName = "ACTIVATEFLG", DataType = DbType.String)]
public string ACTIVATEFLG { get; set; }
///
/// 上级组织机构
///
[DBColumn(ColumnName = "ORGAPARENT", DataType = DbType.String)]
public string OrgaParent { get; set; }
///
/// 上级组织机构描述
///
public string OrgaParentDESC { get; set; }
///
/// 删除标识位
///
[DBColumn(ColumnName = "FLGDEL", DataType = DbType.String)]
public string DelFlag { 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 OrgaAuthorityList { get; set; }
///
/// 组织机构所具有的角色
///
public List RoleList { get; set; }
///
/// 组织机构集合
///
public List Orgas { get; set; }
///
/// 是否修改
///
public bool IsUpdate { get; set; }
}
}