using System.Collections.Generic; using GxPress.Entity.WorkFlow; using GxPress.EnumConst; namespace GxPress.Api.AppControllers { public partial class AppFlowController { public class TodoListResult { /// /// 当前页 /// public int Count { get; set; } /// /// 每页显示多少项 /// public IEnumerable Items { get; set; } } public class GetCountResult { /// /// 我审批的 - 待审批 /// public int MyCheckingCount { get; set; } /// /// 我审批的 - 已审批 /// public int MyCheckedCount { get; set; } /// /// 我发起的 - 待审批 /// public int SubmittedCheckingCount { get; set; } /// /// 我发起的 - 已审批 /// public int SubmittedCheckedCount { get; set; } /// /// 抄送我的 - 未读 /// public int CcUnreadCount { get; set; } /// /// 抄送我的 - 全部 /// public int CcAllCount { get; set; } } public class FlowTodoResult : FlowTodo { public FlowState State { get; set; } /// /// 当前页 /// public string Title { get; set; } public string AvatarUrl { get; set; } /// /// 每页显示多少项 /// public List Summaries { get; set; } } public class CheckRequest { /// /// 工作流Id /// public int FlowId { get; set; } /// /// 待办Id /// public int TodoId { get; set; } /// /// 是否审核通过 /// public bool IsChecked { get; set; } /// /// 留言 /// public string Message { get; set; } } public class ActionRequest { /// /// 工作流Id /// public int FlowId { get; set; } } public class ActionTransferCheckRequest { /// /// 待办Id /// public int TodoId { get; set; } /// /// 转审用户Id列表 /// public List TransferUserIds { get; set; } /// /// 审批意见 /// public string Message { get; set; } /// /// 附件Id列表 /// public List FileIds { get; set; } } public class DownloadResult { /// /// 下载地址 /// public string DownloadUrl { get; set; } /// /// 预览 /// public string PreviewUrl { get; set; } } } }