//------------------------------------------------------------------------------
// <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 APT.Infrastructure.Core;
using System;

namespace APT.BaseData.Domain.Entities
{
	/// <summary>
	/// 工作流实例流转历史记录
	/// </summary>
	[IgnoreT4] public partial class T_PF_FLOW_INSTANCE_TRANS_HIS : MesEntityBase
	{
        public T_PF_FLOW_INSTANCE_TRANS_HIS()
        {
          this.FromNodeId= string.Empty;
          this.FromNodeName= string.Empty;
          this.ToNodeId= string.Empty;
          this.ToNodeName= string.Empty;
          this.TransitionSate= 0;
          this.IsFinish= 0;
          this.CreateDate= DateTime.Now;
          this.CreateUserId= string.Empty;
          this.CreateUserName= string.Empty;
        }

        /// <summary>
	    /// 实例Id
	    /// </summary>
        public Guid? InstanceId { get; set; }
        /// <summary>
	    /// 开始节点Id
	    /// </summary>
        public string FromNodeId { get; set; }
        /// <summary>
	    /// 开始节点类型
	    /// </summary>
        public int? FromNodeType { get; set; }
        /// <summary>
	    /// 开始节点名称
	    /// </summary>
        public string FromNodeName { get; set; }
        /// <summary>
	    /// 结束节点Id
	    /// </summary>
        public string ToNodeId { get; set; }
        /// <summary>
	    /// 结束节点类型
	    /// </summary>
        public int? ToNodeType { get; set; }
        /// <summary>
	    /// 结束节点名称
	    /// </summary>
        public string ToNodeName { get; set; }
        /// <summary>
	    /// 转化状态
	    /// </summary>
        public int TransitionSate { get; set; }
        /// <summary>
	    /// 是否结束
	    /// </summary>
        public int IsFinish { get; set; }
        /// <summary>
	    /// 转化时间
	    /// </summary>
        public System.DateTime CreateDate { get; set; }
        /// <summary>
	    /// 操作人Id
	    /// </summary>
        public string CreateUserId { get; set; }
        /// <summary>
	    /// 操作人名称
	    /// </summary>
        public string CreateUserName { get; set; }

		public virtual T_PF_FLOW_INSTANCE FlowInstance { get; set; }
	}
}