namespace Admin.NET.Plugin.ApprovalFlow.Service; /// /// 流程实例详情输出 /// public class FlowInstanceDetailOutput { public long Id { get; set; } public long FlowId { get; set; } public string BizType { get; set; } = ""; public long BizId { get; set; } public string? BizNo { get; set; } public string Title { get; set; } = ""; public long InitiatorId { get; set; } public string? InitiatorName { get; set; } public FlowInstanceStatusEnum Status { get; set; } public string? CurrentNodeId { get; set; } public DateTime StartTime { get; set; } public DateTime? EndTime { get; set; } public List Tasks { get; set; } = new(); } /// /// 审批任务输出 /// public class FlowTaskOutput { public long Id { get; set; } public string NodeId { get; set; } = ""; public string? NodeName { get; set; } public long AssigneeId { get; set; } public string? AssigneeName { get; set; } public FlowTaskStatusEnum Status { get; set; } public string? Comment { get; set; } public DateTime? ActionTime { get; set; } } /// /// 审批时间线条目 /// public class FlowTimelineItem { public long Id { get; set; } public string? NodeId { get; set; } public string? NodeName { get; set; } public FlowLogActionEnum Action { get; set; } public long OperatorId { get; set; } public string? OperatorName { get; set; } public string? Comment { get; set; } public DateTime CreateTime { get; set; } } /// /// 流程实例分页查询输入 /// public class InstancePageInput : BasePageInput { public string? BizType { get; set; } public FlowInstanceStatusEnum? Status { get; set; } } /// /// 流程实例分页输出 /// public class InstancePageOutput { public long Id { get; set; } public string BizType { get; set; } = ""; public long BizId { get; set; } public string? BizNo { get; set; } public string Title { get; set; } = ""; public FlowInstanceStatusEnum Status { get; set; } public string? CurrentNodeId { get; set; } public DateTime StartTime { get; set; } public DateTime? EndTime { get; set; } public string? InitiatorName { get; set; } /// /// 当前待审批人姓名(多人逗号分隔) /// public string? CurrentAssigneeName { get; set; } }