using System;
using System.Collections.Generic;
using System.Text;
namespace Model
{
/// <summary>
/// 模块结构表
/// </summary>
public class TemplateTable
{
private IList<Columns> listFileds;
public IList<Columns> ListFileds
{
get { return listFileds; }
set { listFileds = value; }
}
private IList<Columns> searchFileds;
public IList<Columns> SearchFileds
{
get { return searchFileds; }
set { searchFileds = value; }
}
private IList<Columns> oprationFileds;
public IList<Columns> OprationFileds
{
get { return oprationFileds; }
set { oprationFileds = value; }
}
/// <summary>
/// 表名
/// </summary>
private string tableName;
public string TableName
{
get { return tableName; }
set { tableName = value; }
}
/// <summary>
/// 表描述
/// </summary>
private string tableDes;
public string TableDes
{
get { return tableDes; }
set { tableDes = value; }
}
/// <summary>
/// 表描述
/// </summary>
private string tableDesAll;
public string TableDesAll
{
get { return tableDesAll; }
set { tableDesAll = value; }
}
/// <summary>
/// 无_线
/// </summary>
private string tableNoPoint;
public string TableNoPoint
{
get { return tableNoPoint; }
set { tableNoPoint = value; }
}
/// <summary>
/// Tab类型
/// </summary>
private string tabType;
public string TabType
{
get { return tabType; }
set { tabType = value; }
}
private string menuName;
public string MenuName
{
get { return menuName; }
set { menuName = value; }
}
private int parterListCount;
public int ParterListCount
{
get { return parterListCount; }
set { parterListCount = value; }
}
private IList<Parter> parterList;
public IList<Parter> ParterList
{
get { return parterList; }
set { parterList = value; }
}
private IList<Columns> cols;
public IList<Columns> Cols
{
get { return cols; }
set { cols = value; }
}
private Columns name;
public Columns Name
{
get { return name; }
set { name = value; }
}
private Columns key;
public Columns Key
{
get { return key; }
set { key = value; }
}
private IList<Rel> relRelationConfig;
public IList<Rel> RelRelationConfig
{
get { return relRelationConfig; }
set { relRelationConfig = value; }
}
private IList<Relation> relRelationList;
public IList<Relation> RelRelationList
{
get { return relRelationList; }
set { relRelationList = value; }
}
private IList<Relation> childRelationList;
public IList<Relation> ChildRelationList
{
get { return childRelationList; }
set { childRelationList = value; }
}
private int tableType;
public int TableType
{
get { return tableType; }
set { tableType = value; }
}
private IList<ActionSql> actionSqls;
public IList<ActionSql> ActionSqls
{
get { return actionSqls; }
set { actionSqls = value; }
}
/// <summary>
/// 工作流事件
/// </summary>
private IList<WorkFlowAction> workFlowAction;
public IList<WorkFlowAction> WorkFlowAction
{
get { return workFlowAction; }
set { workFlowAction = value; }
}
/// <summary>
/// 工作流命令
/// </summary>
private IList<WorkFlowAction> workFlowActionCommand;
public IList<WorkFlowAction> WorkFlowActionCommand
{
get { return workFlowActionCommand; }
set { workFlowActionCommand = value; }
}
/// <summary>
/// 工作流条件
/// </summary>
private IList<WorkFlowAction> workFlowActionCondition;
public IList<WorkFlowAction> WorkFlowActionCondition
{
get { return workFlowActionCondition; }
set { workFlowActionCondition = value; }
}
private IList<FromRelation> fromRelations;
public IList<FromRelation> FromRelations
{
get { return fromRelations; }
set { fromRelations = value; }
}
/// <summary>
/// 用户模块
/// </summary>
private bool isUser;
public bool IsUser
{
get { return isUser; }
set { isUser = value; }
}
private IList<TableButton> tempButtons;
public IList<TableButton> TempButtons
{
get { return tempButtons; }
set { tempButtons = value; }
}
/// <summary>
/// 被选择了
/// </summary>
private bool isChecked;
public bool IsChecked
{
get { return isChecked; }
set { isChecked = value; }
}
}
public class CDataBase
{
private string dbName;
public string DbName
{
get { return dbName; }
set { dbName = value; }
}
/// <summary>
/// 全部数据表用于更新系统结构时使用
/// </summary>
private IList<TemplateTable> _TemplateTable;
public IList<TemplateTable> TemplateTable
{
get { return _TemplateTable; }
set { _TemplateTable = value; }
}
}
}