/*********************** * 说明:基础审批模型 * 创建人:姜棚 * 创建日期: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 { /// /// 加载表单key /// public string FormKey; /// /// 查询分类Sql /// public string FieldSql; /// /// 操作表名 /// public string TableName; /// /// 上传附件目录Id /// public int Dirid; /// /// 主键名称 /// public string FiledNameKey; /// /// 列前缀 /// public string ColumnPrefix; /// /// 当前模块数据 /// public DataRow CurrentControlSource; /// /// 操作字段 /// public DataTable DtFileds; public BaseInfoModel(DataRow rowItem) { if (rowItem == null) return; FormKey = rowItem["formKey"] + ""; TableName = rowItem["SQLDT1"] + ""; Dirid = Convert.ToInt32(rowItem["dirid"]); } } }