/****************************** * 说明:单据流转步骤 * 创建人:龚宇超 * 创建日期:2019-06-24 * 修改人: * 修改日期: * 修改备注: * 版本:1.0.0.0 ******************************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace Lskj.Model { /// /// 单据流转步骤 /// public class BillflowModel { 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 tm_Test; public string pStepCode; public string stepCloseText; public string stepCloseContent; public string stepCloseTip; public string stepDivide; public DataRow rowItem; public string requiredFields;//主表必填字段 public string requiredDetailFields;//明细必填字段 public BillflowModel() { } public BillflowModel(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.tm_Test = rowItem["tm_Test"] + ""; this.pStepCode = rowItem["pStepCode"] + ""; this.stepCloseText = rowItem["stepCloseText"] + ""; this.stepCloseContent = rowItem["stepCloseContent"] + ""; this.stepCloseTip = rowItem["stepCloseTip"] + ""; this.stepDivide = rowItem["stepDivide"] + ""; this.requiredFields = rowItem["requiredFields"] + ""; this.requiredDetailFields = rowItem["requiredDetailFields"] + ""; } } }