74 lines
1.9 KiB
C#
74 lines
1.9 KiB
C#
using System;
|
|
using System.Data;
|
|
|
|
namespace Lskj.PubCodeDesign
|
|
{
|
|
internal sealed class TreeNodeData
|
|
{
|
|
public string NodeType;
|
|
public string MenuKey;
|
|
public int MenuLevel;
|
|
public DataRow MenuRow;
|
|
public string MenuCaption;
|
|
public string ModuleCode;
|
|
public int SchemeId;
|
|
public string SchemeCode;
|
|
public string SchemeName;
|
|
public bool BindModule;
|
|
public string BindSubSysId;
|
|
public string BindMenuStruct1;
|
|
public string BindMenuStruct2;
|
|
public string BindMenuId;
|
|
public string BindModuleCode;
|
|
}
|
|
|
|
internal sealed class MenuComboItem
|
|
{
|
|
public string Text;
|
|
public string SubSysId;
|
|
public string MenuStruct;
|
|
public string MenuId;
|
|
public string ModuleCode;
|
|
public DataRow Row;
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.IsNullOrWhiteSpace(this.Text) ? base.ToString() : this.Text;
|
|
}
|
|
}
|
|
|
|
internal sealed class FieldDesignItem
|
|
{
|
|
public string UserName;
|
|
public string FieldName;
|
|
public string RuntimeFieldName;
|
|
public int FieldTypeId;
|
|
public int ControlWidth;
|
|
public int ControlHeight;
|
|
|
|
public FieldDesignItem Clone()
|
|
{
|
|
return new FieldDesignItem
|
|
{
|
|
UserName = this.UserName,
|
|
FieldName = this.FieldName,
|
|
RuntimeFieldName = this.RuntimeFieldName,
|
|
FieldTypeId = this.FieldTypeId,
|
|
ControlWidth = this.ControlWidth,
|
|
ControlHeight = this.ControlHeight
|
|
};
|
|
}
|
|
}
|
|
|
|
internal sealed class TableColumnSpec
|
|
{
|
|
public TableColumnSpec(string name, string definition)
|
|
{
|
|
this.Name = name;
|
|
this.Definition = definition;
|
|
}
|
|
|
|
public string Name;
|
|
public string Definition;
|
|
}
|
|
} |