namespace Admin.NET.Plugin.ApprovalFlow.Service; /// /// 审批任务分页查询输入 /// public class TaskPageInput : BasePageInput { public string? BizType { get; set; } } /// /// 审批任务分页输出 /// public class TaskPageOutput { public long Id { get; set; } public long InstanceId { get; set; } public string NodeId { get; set; } = ""; public string? NodeName { get; set; } public FlowTaskStatusEnum Status { get; set; } public string? Comment { get; set; } public DateTime? ActionTime { get; set; } // 关联实例信息 public string Title { get; set; } = ""; public string BizType { get; set; } = ""; public long BizId { get; set; } public string? BizNo { get; set; } public string? InitiatorName { get; set; } public DateTime StartTime { get; set; } public DateTime CreateTime { get; set; } // P1-6 审批代理:是否为代理任务、被代理人 public bool IsDelegate { get; set; } public string? DelegateForUserName { get; set; } } /// /// 升级配置查询输出 /// public class EscalationConfigOutput { /// 是否允许升级(节点配置了升级目标且开启手动升级) public bool Enabled { get; set; } /// 升级目标名称(便于前端展示) public string? EscalationApproverNames { get; set; } }