using System.Collections.Generic; using GxPress.Entity.WorkFlow; namespace GxPress.Api.AdminControllers { public partial class AdminFlowController { public class ListRequest { /// /// 审批类型 /// public int ProcessId { get; set; } /// /// 状态 /// public string State { get; set; } /// /// 提交时间 /// public string StartDate { get; set; } /// /// 完成时间 /// public string EndDate { get; set; } /// /// 关键词 /// public string Keyword { get; set; } /// /// 当前页 /// public int Page { get; set; } /// /// 每页显示多少项 /// public int PerPage { get; set; } } 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 SubmittedCount { get; set; } /// /// 抄送我的 - 未读 /// public int CcUnreadCount { get; set; } /// /// 抄送我的 - 全部 /// public int CcAllCount { get; set; } } public class FlowTodoResult : FlowTodo { public string 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 DownloadResult { /// /// 下载地址 /// public string DownloadUrl { get; set; } /// /// 预览 /// public string PreviewUrl { get; set; } } } }