namespace Model
{
public class Columns
{
private List<Dict> dicts;
public List<Dict> Dicts
{
get { return dicts; }
set { dicts = value; }
}
namespace Model
{
/// <summary>
/// 模块结构表
/// </summary>
public class TemplateTable
{
private IList<Rel> relRelationConfig;
public IList<Rel> RelRelationConfig
{
get { return relRelationConfig; }
set { relRelationConfig = value; }
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Model
{
public class TempClass
{
private string templateStr;
public string TemplateStr
{
get { return templateStr; }
set { templateStr = value; }
}
private string tempNameSpace;
public string TempNameSpace
{
get { return tempNameSpace; }
set { tempNameSpace = value; }
}
private TemplateTable tempTable;
public TemplateTable TempTable
{
get { return tempTable; }
set { tempTable = value; }
}
private CDataBase hostDataBase;
public CDataBase HostDataBase
{
get { return hostDataBase; }
set { hostDataBase = value; }
}
private string createVersion;
public string CreateVersion
{
get { return createVersion; }
set { createVersion = value; }
}
private IList<TableMenu> menus;
public IList<TableMenu> Menus
{
get { return menus; }
set { menus = value; }
}
//点亮 显示条件 SessionID 目录 包含模块 加入购物车 下单 支付
private string[] relTables;
public string[] RelTables
{
get { return relTables; }
set { relTables = value; }
}
private string codeNameSpace;
public string CodeNameSpace
{
get { return codeNameSpace; }
set { codeNameSpace = value; }
}
private string className;
public string ClassName
{
get { return className; }
set { className = value; }
}
private string isView;
public string IsView
{
get { return isView; }
set { isView = value; }
}
private string ifIsView;
public string IfIsView
{
get { return ifIsView; }
set { ifIsView = value; }
}
private string sessionID;
public string SessionID
{
get { return sessionID; }
set { sessionID = value; }
}
private string addCart;
public string AddCart
{
get { return addCart; }
set { addCart = value; }
}
private string orders;
public string Orders
{
get { return orders; }
set { orders = value; }
}
private string payment;
public string Payment
{
get { return payment; }
set { payment = value; }
}
//目录
private string dir;
public string Dir
{
get { return dir; }
set { dir = value; }
}
//一级菜单 二级菜单 页面 页面类型
private string firstMenu;
public string FirstMenu
{
get { return firstMenu; }
set { firstMenu = value; }
}
private string secMenu;
public string SecMenu
{
get { return secMenu; }
set { secMenu = value; }
}
private string pageName;
public string PageName
{
get { return pageName; }
set { pageName = value; }
}
private string pageType;
public string PageType
{
get { return pageType; }
set { pageType = value; }
}
private string pageTitle;
public string PageTitle
{
get { return pageTitle; }
set { pageTitle = value; }
}
private string codeName;
public string CodeName
{
get { return codeName; }
set { codeName = value; }
}
//模块 参数 编辑页设置字段 显示页设置字段 列表页设置字段
//TableName TableValues EditJson ShowJson ListJson
private string tableName;
public string TableName
{
get { return tableName; }
set { tableName = value; }
}
private string tableValues;
public string TableValues
{
get { return tableValues; }
set { tableValues = value; }
}
private string editJson;
public string EditJson
{
get { return editJson; }
set { editJson = value; }
}
private string showJson;
public string ShowJson
{
get { return showJson; }
set { showJson = value; }
}
private string listJson;
public string ListJson
{
get { return listJson; }
set { listJson = value; }
}
}
// 模块 字段 参数值 参数名 列表显示 条件 操作权限 作废
public class Dict
{
private string tableName;
public string TableName
{
get { return tableName; }
set { tableName = value; }
}
private string columnsName;
public string ColumnsName
{
get { return columnsName; }
set { columnsName = value; }
}
private string itemName;
public string ItemName
{
get { return itemName; }
set { itemName = value; }
}
private string itemValue;
public string ItemValue
{
get { return itemValue; }
set { itemValue = value; }
}
private string listView;
public string ListView
{
get { return listView; }
set { listView = value; }
}
private string condition;
public string Condition
{
get { return condition; }
set { condition = value; }
}
private string opreation;
public string Opreation
{
get { return opreation; }
set { opreation = value; }
}
private string isDel;
public string IsDel
{
get { return isDel; }
set { isDel = value; }
}
}
//模块 关系模块 显示列 顺序 编辑功能 删除功能
public class Rel
{
private string tableName;
public string TableName
{
get { return tableName; }
set { tableName = value; }
}
private string relTableName;
public string RelTableName
{
get { return relTableName; }
set { relTableName = value; }
}
private List<string> viewFileds;
public List<string> ViewFileds
{
get { return viewFileds; }
set { viewFileds = value; }
}
private string orderBy;
public string OrderBy
{
get { return orderBy; }
set { orderBy = value; }
}
private string canEdit;
public string CanEdit
{
get { return canEdit; }
set { canEdit = value; }
}
private string canDelete;
public string CanDelete
{
get { return canDelete; }
set { canDelete = value; }
}
}
public class WebMarkString
{
public string Tag;
public string Link;
}
}