diff --git a/OpenAuth.Repository/Domain/FlowInstanceOperationHistory.cs b/OpenAuth.Repository/Domain/FlowInstanceOperationHistory.cs
index 2170e729..a0a4994c 100644
--- a/OpenAuth.Repository/Domain/FlowInstanceOperationHistory.cs
+++ b/OpenAuth.Repository/Domain/FlowInstanceOperationHistory.cs
@@ -14,46 +14,47 @@ using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
- ///
- /// 工作流实例操作记录
- ///
- [Table("FlowInstanceOperationHistory")]
- public partial class FlowInstanceOperationHistory : StringEntity
+ ///
+ /// 工作流程操作历史
+ /// 记录某个流程实例所有的人员创建、审批记录
+ ///
+ [Table("FlowInstanceOperationHistory")]
+ public partial class FlowInstanceOperationHistory : StringEntity
+ {
+ public FlowInstanceOperationHistory()
{
- public FlowInstanceOperationHistory()
- {
- this.InstanceId= string.Empty;
- this.Content= string.Empty;
- this.CreateDate= DateTime.Now;
- this.CreateUserId= string.Empty;
- this.CreateUserName= string.Empty;
- }
-
- ///
- /// 实例进程Id
- ///
- [Description("实例进程Id")]
- public string InstanceId { get; set; }
- ///
- /// 操作内容
- ///
- [Description("操作内容")]
- public string Content { get; set; }
- ///
- /// 创建时间
- ///
- [Description("创建时间")]
- public System.DateTime CreateDate { get; set; }
- ///
- /// 创建用户主键
- ///
- [Description("创建用户主键")]
- public string CreateUserId { get; set; }
- ///
- /// 创建用户
- ///
- [Description("创建用户")]
- public string CreateUserName { get; set; }
-
+ this.InstanceId = string.Empty;
+ this.Content = string.Empty;
+ this.CreateDate = DateTime.Now;
+ this.CreateUserId = string.Empty;
+ this.CreateUserName = string.Empty;
}
+
+ ///
+ /// 实例进程Id
+ ///
+ [Description("实例进程Id")]
+ public string InstanceId { get; set; }
+ ///
+ /// 操作内容
+ ///
+ [Description("操作内容")]
+ public string Content { get; set; }
+ ///
+ /// 创建时间
+ ///
+ [Description("创建时间")]
+ public System.DateTime CreateDate { get; set; }
+ ///
+ /// 创建用户主键
+ ///
+ [Description("创建用户主键")]
+ public string CreateUserId { get; set; }
+ ///
+ /// 创建用户
+ ///
+ [Description("创建用户")]
+ public string CreateUserName { get; set; }
+
+ }
}
\ No newline at end of file
diff --git a/OpenAuth.Repository/Domain/FlowInstanceTransitionHistory.cs b/OpenAuth.Repository/Domain/FlowInstanceTransitionHistory.cs
index ee072169..678b0b89 100644
--- a/OpenAuth.Repository/Domain/FlowInstanceTransitionHistory.cs
+++ b/OpenAuth.Repository/Domain/FlowInstanceTransitionHistory.cs
@@ -15,86 +15,87 @@ using OpenAuth.Repository.Core;
namespace OpenAuth.Repository.Domain
{
- ///
- /// 工作流实例流转历史记录
- ///
- [Table("FlowInstanceTransitionHistory")]
- public partial class FlowInstanceTransitionHistory : StringEntity
+ ///
+ /// 流程实例流转记录
+ /// 记录某个流程实例所有已审批的从一个活动节点到下一个活动节点的操作人、操作时间
+ ///
+ [Table("FlowInstanceTransitionHistory")]
+ public partial class FlowInstanceTransitionHistory : StringEntity
+ {
+ public FlowInstanceTransitionHistory()
{
- public FlowInstanceTransitionHistory()
- {
- this.InstanceId= string.Empty;
- this.FromNodeId= string.Empty;
- this.FromNodeName= string.Empty;
- this.ToNodeId= string.Empty;
- this.ToNodeName= string.Empty;
- this.TransitionSate= 0;
- this.IsFinish= FlowInstanceStatus.Running;
- this.CreateDate= DateTime.Now;
- this.CreateUserId= string.Empty;
- this.CreateUserName= string.Empty;
- }
-
- ///
- /// 实例Id
- ///
- [Description("实例Id")]
- public string InstanceId { get; set; }
- ///
- /// 开始节点Id
- ///
- [Description("开始节点Id")]
- public string FromNodeId { get; set; }
- ///
- /// 开始节点类型
- ///
- [Description("开始节点类型")]
- public int? FromNodeType { get; set; }
- ///
- /// 开始节点名称
- ///
- [Description("开始节点名称")]
- public string FromNodeName { get; set; }
- ///
- /// 结束节点Id
- ///
- [Description("结束节点Id")]
- public string ToNodeId { get; set; }
- ///
- /// 结束节点类型
- ///
- [Description("结束节点类型")]
- public int? ToNodeType { get; set; }
- ///
- /// 结束节点名称
- ///
- [Description("结束节点名称")]
- public string ToNodeName { get; set; }
- ///
- /// 转化状态
- ///
- [Description("转化状态")]
- public int TransitionSate { get; set; }
- ///
- /// 是否结束
- ///
- [Description("是否结束")]
- public int IsFinish { get; set; }
- ///
- /// 转化时间
- ///
- [Description("转化时间")]
- public System.DateTime CreateDate { get; set; }
- ///
- /// 操作人Id
- ///
- [Description("操作人Id")]
- public string CreateUserId { get; set; }
- ///
- /// 操作人名称
- ///
- [Description("操作人名称")]
- public string CreateUserName { get; set; }
-
+ this.InstanceId = string.Empty;
+ this.FromNodeId = string.Empty;
+ this.FromNodeName = string.Empty;
+ this.ToNodeId = string.Empty;
+ this.ToNodeName = string.Empty;
+ this.TransitionSate = 0;
+ this.IsFinish = FlowInstanceStatus.Running;
+ this.CreateDate = DateTime.Now;
+ this.CreateUserId = string.Empty;
+ this.CreateUserName = string.Empty;
}
+
+ ///
+ /// 实例Id
+ ///
+ [Description("实例Id")]
+ public string InstanceId { get; set; }
+ ///
+ /// 开始节点Id
+ ///
+ [Description("开始节点Id")]
+ public string FromNodeId { get; set; }
+ ///
+ /// 开始节点类型
+ ///
+ [Description("开始节点类型")]
+ public int? FromNodeType { get; set; }
+ ///
+ /// 开始节点名称
+ ///
+ [Description("开始节点名称")]
+ public string FromNodeName { get; set; }
+ ///
+ /// 结束节点Id
+ ///
+ [Description("结束节点Id")]
+ public string ToNodeId { get; set; }
+ ///
+ /// 结束节点类型
+ ///
+ [Description("结束节点类型")]
+ public int? ToNodeType { get; set; }
+ ///
+ /// 结束节点名称
+ ///
+ [Description("结束节点名称")]
+ public string ToNodeName { get; set; }
+ ///
+ /// 转化状态
+ ///
+ [Description("转化状态")]
+ public int TransitionSate { get; set; }
+ ///
+ /// 是否结束
+ ///
+ [Description("是否结束")]
+ public int IsFinish { get; set; }
+ ///
+ /// 转化时间
+ ///
+ [Description("转化时间")]
+ public System.DateTime CreateDate { get; set; }
+ ///
+ /// 操作人Id
+ ///
+ [Description("操作人Id")]
+ public string CreateUserId { get; set; }
+ ///
+ /// 操作人名称
+ ///
+ [Description("操作人名称")]
+ public string CreateUserName { get; set; }
+
+ }
}
\ No newline at end of file