//------------------------------------------------------------------------------ // // 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 // //------------------------------------------------------------------------------ using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations.Schema; using Infrastructure.Const; using OpenAuth.Repository.Core; namespace OpenAuth.Repository.Domain { /// /// 工作流实例流转历史记录 /// [Table("FlowInstanceTransitionHistory")] public partial class FlowInstanceTransitionHistory : StringEntity { 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; } } }