using Hotline.Share.Enums.FlowEngine; namespace Hotline.Share.Dtos.FlowEngine.Workflow { public class StepBasicDto { public string WorkflowId { get; set; } /// /// 该节点指派办理对象(依据不同指派方式可能为:orgId或userId),该字段subStep才会存在,stepBox不存在 /// 采用list类型,兼容多个办理对象可以办理同一个节点的场景 /// public List Handlers { get; set; } = new(); /// /// 办理时间限制(如:24小时、7个工作日) /// public string? TimeLimit { get; set; } /// /// 上一节点办理时,nextStepCode下拉框中选中的值 /// config模式:当前节点的difinition.code, dynamic模式:x级部门办理的x:int /// public string? PrevChosenStepCode { get; set; } #region 接办 /// /// 接办人 /// public string? AcceptorId { get; set; } public string? AcceptorName { get; set; } /// /// 接办人部门code /// public string? AcceptorOrgId { get; set; } public string? AcceptorOrgName { get; set; } /// /// 接办人部门行政区划代码 /// public string? AcceptorOrgAreaCode { get; set; } /// /// 接办人部门行政区划名称 /// public string? AcceptorOrgAreaName { get; set; } /// /// 接办时间 /// public DateTime? AcceptTime { get; set; } #endregion #region 办理 /// /// 办理人 /// public string? HandlerId { get; set; } public string? HandlerName { get; set; } /// /// 办理人部门code /// public string? HandlerOrgId { get; set; } /// /// 办理人部门名称 /// public string? HandlerOrgName { get; set; } /// /// 办理人部门行政区划代码 /// public string? HandlerOrgAreaCode { get; set; } /// /// 办理人部门行政区划名称 /// public string? HandlerOrgAreaName { get; set; } /// /// 办理完成时间 /// public DateTime? HandleTime { get; set; } #endregion #region 办理参数 /// /// (下一节点办理人)根据审批者类型不同,此字段为不同内容 /// /// 部门等级/分类为:orgCodes, 角色为:userIds /// /// public List NextHandlers { get; set; } = new(); /// /// 下一节点主办,(NextHandlers其中一个, 如果不是会签则只有一个) /// public string? NextMainHandler { get; set; } /// /// 下一节点code(stepBox无值) /// public string? NextStepCode { get; set; } /// /// 是否回到会签发起节点汇总 /// public bool BackToCountersignEnd { get; set; } /// /// 是否短信通知 /// public bool IsSms { get; set; } /// /// 办理意见 /// public string? Opinion { get; set; } /// /// 附件 /// public List Additions { get; set; } = new(); /// /// 节点期满时间 /// public DateTime? StepExpiredTime { get; set; } #endregion } }