Files
lserp_cs_6.0/插件库/Lskj.Model/BaseAuditModel.cs
T
cyf ab56a9bcf7 基线 SVN r240
SVN-Revision: r240
2025-02-06 06:46:06 +00:00

51 lines
1.5 KiB
C#

/***********************
* 说明:基础审批模型
* 创建人:龚宇超
* 创建日期:2018-02-07
* 修改人:
* 修改日期:
* 修改备注:
* 版本:1.0.0.0
***********************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
namespace Lskj.Model
{
public class BaseAuditModel : ModuleModel
{
/// <summary>
/// 审批BillType类型
/// </summary>
/// <value>The type of the bill.</value>
public string BillType { get { return this.PrefixKey + "billType"; } }
/// <summary>
/// 进度踪审名
/// </summary>
/// <value>The name of the step over.</value>
public string StepOverName { get { return this.PrefixKey + "stepover"; } }
/// <summary>
/// 返退标记
/// </summary>
/// <value>The back selected.</value>
public string BackSelected { get; set; }
/// <summary>
/// 滚动条显示
/// </summary>
/// <param name="rowItem"></param>
public bool DisplayScroll;
public BaseAuditModel(DataRow rowItem)
: base(rowItem)
{
if (rowItem == null) return;
this.BackSelected = rowItem.Table.Columns.Contains("backSelected") ? rowItem["backSelected"] + "" : "0";
this.DisplayScroll= rowItem.Table.Columns.Contains("DisplayScroll") ?"1".Equals( rowItem["DisplayScroll"] + "") : false;
}
}
}