ab56a9bcf7
SVN-Revision: r240
62 lines
1.5 KiB
C#
62 lines
1.5 KiB
C#
/***********************
|
|
* 说明:基础审批模型
|
|
* 创建人:姜棚
|
|
* 创建日期:2017-12-29
|
|
* 修改人:
|
|
* 修改日期:
|
|
* 修改备注:
|
|
* 版本:1.0.0.0
|
|
***********************/
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Data;
|
|
|
|
namespace Lskj.BaseInfo.Model
|
|
{
|
|
public class BaseInfoModel
|
|
{
|
|
/// <summary>
|
|
/// 加载表单key
|
|
/// </summary>
|
|
public string FormKey;
|
|
/// <summary>
|
|
/// 查询分类Sql
|
|
/// </summary>
|
|
public string FieldSql;
|
|
/// <summary>
|
|
/// 操作表名
|
|
/// </summary>
|
|
public string TableName;
|
|
/// <summary>
|
|
/// 上传附件目录Id
|
|
/// </summary>
|
|
public int Dirid;
|
|
/// <summary>
|
|
/// 主键名称
|
|
/// </summary>
|
|
public string FiledNameKey;
|
|
/// <summary>
|
|
/// 列前缀
|
|
/// </summary>
|
|
public string ColumnPrefix;
|
|
/// <summary>
|
|
/// 当前模块数据
|
|
/// </summary>
|
|
public DataRow CurrentControlSource;
|
|
/// <summary>
|
|
/// 操作字段
|
|
/// </summary>
|
|
public DataTable DtFileds;
|
|
|
|
public BaseInfoModel(DataRow rowItem)
|
|
{
|
|
if (rowItem == null) return;
|
|
FormKey = rowItem["formKey"] + "";
|
|
TableName = rowItem["SQLDT1"] + "";
|
|
Dirid = Convert.ToInt32(rowItem["dirid"]);
|
|
}
|
|
}
|
|
}
|