using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; namespace Lskj.Model { /// /// 基础流转步骤 /// public class BaseflowModel { public int id; public string typeCode; public int stepCode; public string stepName; public string stepAction; public string backAction; public string stepGroup; public string stepSql; public string billModifyFields; public string detailModifyFields; public string beforeEvent; public string afterEvent; public string stepApplyText; public string stepBackText; public string stepApplyContent; public string stepBackContent; public string pStepCode; public string stepCloseText; public string stepCloseContent; public string stepCloseTip; public string requiredFields;//主表必填字段 public DataRow rowItem; public BaseflowModel() { } public BaseflowModel(DataRow rowItem) { this.rowItem = rowItem; this.id = Convert.ToInt32(rowItem["id"] + ""); this.typeCode = rowItem["typeCode"] + ""; this.stepCode = Convert.ToInt32(rowItem["stepCode"] + ""); this.stepName = rowItem["stepName"] + ""; this.stepAction = rowItem["stepAction"] + ""; this.backAction = rowItem["backAction"] + ""; this.stepGroup = rowItem["stepGroup"] + ""; this.stepSql = rowItem["stepSql"] + ""; this.billModifyFields = rowItem["billModifyFields"] + ""; this.detailModifyFields = rowItem["detailModifyFields"] + ""; this.beforeEvent = rowItem["beforeEvent"] + ""; this.afterEvent = rowItem["afterEvent"] + ""; this.stepApplyText = rowItem["stepApplyText"] + ""; this.stepBackText = rowItem["stepBackText"] + ""; this.stepApplyContent = rowItem["stepApplyContent"] + ""; this.stepBackContent = rowItem["stepBackContent"] + ""; this.pStepCode = rowItem["pStepCode"] + ""; this.stepCloseText = rowItem["stepCloseText"] + ""; this.stepCloseContent = rowItem["stepCloseContent"] + ""; this.stepCloseTip = rowItem["stepCloseTip"] + ""; this.requiredFields = rowItem["requiredFields"] + "";// } } }