using System; using System.Collections.Generic; using System.Text; namespace RoadFlow.Model.FlowRunModel { /// /// 步骤实体 /// public class Step { /// /// 步骤ID /// public Guid Id { get; set; } /// /// 步骤类型 0常规 1子流程 /// public int Type { get; set; } /// /// 步骤名称 /// public string Name { get; set; } /// /// 是否是动态步骤 /// 0:不是动态步骤(常规步骤) /// 1:动态步骤 /// 2:动态步骤从字段值中获取,字段值中存:机构ID1|默认处理人ID1,机构ID2|默认处理人ID2 /// VUE版本字段值中存:步骤名称1|默认处理人ID1,步骤名称2|默认处理人ID2 /// 动态步骤是指步骤数量不固定,发送时可以自行添加。例如审批部门不确定的情况下,发送时自行添加要发送到几个部门审批。 /// public int Dynamic { get; set; } /// /// 动态步骤中设定的字段 /// public string DynamicField { get; set; } /// /// 意见显示 0不显示 1显示 /// public int CommentDisplay { get; set; } /// /// 签章意见时是否可传附件 0不可以 1可以 /// public int Attachment { get; set; } /// /// 步骤是否可以批量处理 0不可以 1可以 /// public int BatchExecute { get; set; } /// /// 超期提醒0不提醒 1提前多少天提醒 /// public int ExpiredPrompt { get; set; } /// /// 提前多少天提醒 /// public decimal ExpiredPromptDays { get; set; } = 0; /// /// 审签类型 0无签批意见栏 1有签批意见(无须签章) 2有签批意见(须签章) /// public int SignatureType { get; set; } /// /// 工时(天) /// public decimal WorkTime { get; set; } /// /// 是否归档 0不归档 1要归档 /// public int Archives { get; set; } /// /// 步骤说明 /// public string Note { get; set; } /// /// 步骤发送后提示语 /// public string SendShowMessage { get; set; } /// /// 步骤退回后提示语 /// public string BackShowMessage { get; set; } /// /// X坐标 /// public decimal Position_X { get; set; } /// /// Y坐标 /// public decimal Position_Y { get; set; } /// /// 是否要在发送时指定接收人的完成时间 /// public int SendSetWorkTime{ get; set; } /// /// 任务超时的处理方式 0不处理 1自动提交 /// public int ExpiredExecuteModel { get; set; } /// /// 步骤运行时获取的默认处理人员 /// public string RunDefaultMembers { get; set; } /// /// 数据编辑模式 0共同编辑 1独立编辑 /// public int DataEditModel { get; set; } = 0; /// /// 步骤基本设置 /// public StepBase StepBase { get; set; } /// /// 步骤表单 /// public StepForm StepForm { get; set; } /// /// 步骤按钮 /// public List StepButtons { get; set; } /// /// 步骤字段状态 /// public List StepFieldStatuses { get; set; } /// /// 步骤事件 /// public StepEvent StepEvent { get; set; } /// /// 步骤子流程设置 /// public StepSubFlow StepSubFlow { get; set; } /// /// 步骤抄送设置 /// public StepCopyFor StepCopyFor { get; set; } public override string ToString() { return Newtonsoft.Json.JsonConvert.SerializeObject(this); } public Step Clone() { return (Step)MemberwiseClone(); } } }