mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 10:37:55 +08:00
增加撤销与启动,详见:#I3ILBG
调整工程结构,采用模块化机制
This commit is contained in:
106
OpenAuth.App/FlowInstance/Request/AddFlowInstanceReq.cs
Normal file
106
OpenAuth.App/FlowInstance/Request/AddFlowInstanceReq.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a CodeSmith Template.
|
||||
//
|
||||
// DO NOT MODIFY contents of this file. Changes to this
|
||||
// file will be lost if the code is regenerated.
|
||||
// Author:Yubao Li
|
||||
// </autogenerated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace OpenAuth.App.Request
|
||||
{
|
||||
/// <summary>
|
||||
/// 创建工作流请求
|
||||
/// </summary>
|
||||
public class AddFlowInstanceReq
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 实例编号
|
||||
/// </summary>
|
||||
[Description("实例编号")]
|
||||
public string Code { get; set; }
|
||||
/// <summary>
|
||||
/// 自定义名称
|
||||
/// </summary>
|
||||
[Description("自定义名称")]
|
||||
public string CustomName { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 流程模板内容
|
||||
/// </summary>
|
||||
[Description("流程模板内容")]
|
||||
public string SchemeContent { get; set; }
|
||||
/// <summary>
|
||||
/// 流程模板ID
|
||||
/// </summary>
|
||||
public string SchemeId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 流程模板自定义编号
|
||||
/// </summary>
|
||||
public string SchemeCode { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 数据库名称
|
||||
/// </summary>
|
||||
[Description("数据库名称")]
|
||||
public string DbName { get; set; }
|
||||
/// <summary>
|
||||
/// 表单数据
|
||||
/// </summary>
|
||||
[Description("表单数据")]
|
||||
public string FrmData { get; set; }
|
||||
/// <summary>
|
||||
/// 表单类型
|
||||
/// </summary>
|
||||
[Description("表单类型")]
|
||||
public int FrmType { get; set; }
|
||||
/// <summary>
|
||||
/// 表单中的控件属性描述
|
||||
/// </summary>
|
||||
[Description("表单中的控件属性描述")]
|
||||
public string FrmContentData { get; set; }
|
||||
/// <summary>
|
||||
/// 表单控件位置模板
|
||||
/// </summary>
|
||||
[Description("表单控件位置模板")]
|
||||
public string FrmContentParse { get; set; }
|
||||
/// <summary>
|
||||
/// 表单ID
|
||||
/// </summary>
|
||||
[Description("表单ID")]
|
||||
public string FrmId { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 所属部门
|
||||
/// </summary>
|
||||
[Description("所属部门")]
|
||||
public string OrgId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建用户主键
|
||||
/// </summary>
|
||||
[Description("创建用户主键")]
|
||||
public string CreateUserId { get; set; }
|
||||
/// <summary>
|
||||
/// 创建用户
|
||||
/// </summary>
|
||||
[Description("创建用户")]
|
||||
public string CreateUserName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 实例备注
|
||||
/// </summary>
|
||||
[Description("实例备注")]
|
||||
public string Description { get; set; }
|
||||
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
namespace OpenAuth.App.Request
|
||||
{
|
||||
public class QueryFlowInstanceHistoryReq : PageReq
|
||||
{
|
||||
/// <summary>
|
||||
/// 流程实体名称
|
||||
/// </summary>
|
||||
public string FlowInstanceId { get; set; }
|
||||
|
||||
}
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
namespace OpenAuth.App.Request
|
||||
{
|
||||
public class QueryFlowInstanceListReq : PageReq
|
||||
{
|
||||
public string type { get; set; }
|
||||
}
|
||||
}
|
18
OpenAuth.App/FlowInstance/Request/RecallFlowInstanceReq.cs
Normal file
18
OpenAuth.App/FlowInstance/Request/RecallFlowInstanceReq.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace OpenAuth.App.Request
|
||||
{
|
||||
/// <summary>
|
||||
/// 召回、撤销流程
|
||||
/// </summary>
|
||||
public class RecallFlowInstanceReq
|
||||
{
|
||||
/// <summary>
|
||||
/// 召回、撤销的流程实例ID
|
||||
/// </summary>
|
||||
public string FlowInstanceId { get; set; }
|
||||
/// <summary>
|
||||
/// 撤回备注
|
||||
/// </summary>
|
||||
public string Description { get; set; }
|
||||
|
||||
}
|
||||
}
|
14
OpenAuth.App/FlowInstance/Request/StartFlowInstanceReq.cs
Normal file
14
OpenAuth.App/FlowInstance/Request/StartFlowInstanceReq.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace OpenAuth.App.Request
|
||||
{
|
||||
/// <summary>
|
||||
/// 启动流程
|
||||
/// </summary>
|
||||
public class StartFlowInstanceReq
|
||||
{
|
||||
/// <summary>
|
||||
/// 启动流程的实例Id
|
||||
/// </summary>
|
||||
public string FlowInstanceId { get; set; }
|
||||
|
||||
}
|
||||
}
|
26
OpenAuth.App/FlowInstance/Request/VerificationReq.cs
Normal file
26
OpenAuth.App/FlowInstance/Request/VerificationReq.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
namespace OpenAuth.App.Request
|
||||
{
|
||||
public class VerificationReq
|
||||
{
|
||||
public string FlowInstanceId { get; set; }
|
||||
/// <summary>
|
||||
/// 1:同意;2:不同意;3:驳回
|
||||
/// </summary>
|
||||
public string VerificationFinally { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核意见
|
||||
/// </summary>
|
||||
public string VerificationOpinion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 驳回的步骤,即驳回到的节点ID
|
||||
/// </summary>
|
||||
public string NodeRejectStep { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 驳回类型。null:使用节点配置的驳回类型/0:前一步/1:第一步/2:指定节点,使用NodeRejectStep
|
||||
/// </summary>
|
||||
public string NodeRejectType { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user