143 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
		
		
			
		
	
	
			143 lines
		
	
	
		
			4.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| 
								 | 
							
								//------------------------------------------------------------------------------
							 | 
						|||
| 
								 | 
							
								// <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.BaseData.Domain.Enums;
							 | 
						|||
| 
								 | 
							
								using APT.Infrastructure.Core;
							 | 
						|||
| 
								 | 
							
								using System;
							 | 
						|||
| 
								 | 
							
								using System.Collections.Generic;
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								namespace APT.BaseData.Domain.Entities
							 | 
						|||
| 
								 | 
							
								{
							 | 
						|||
| 
								 | 
							
									/// <summary>
							 | 
						|||
| 
								 | 
							
									/// 工作流流程实例表
							 | 
						|||
| 
								 | 
							
									/// </summary>
							 | 
						|||
| 
								 | 
							
									[IgnoreT4] public partial class T_PF_FLOW_INSTANCE : MesEntityBase
							 | 
						|||
| 
								 | 
							
								    {
							 | 
						|||
| 
								 | 
							
								        public T_PF_FLOW_INSTANCE()
							 | 
						|||
| 
								 | 
							
								        {
							 | 
						|||
| 
								 | 
							
								            this.Code = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.CustomName = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.ActivityId = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.ActivityName = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.PreviousId = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.SchemeContent = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.CreateDate = DateTime.Now;
							 | 
						|||
| 
								 | 
							
								            this.CreateUserId = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.CreateUserName = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.Description = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.OrderStatus = (int)PFFlowInstanceOrderStatusEnum.未完成;
							 | 
						|||
| 
								 | 
							
								            this.MakerList = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.EntityTypeFullName = string.Empty;
							 | 
						|||
| 
								 | 
							
								            this.ActivityType = -1;
							 | 
						|||
| 
								 | 
							
								            this.ActivityEditable = 0;
							 | 
						|||
| 
								 | 
							
								        }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 流程实例模板Id
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public Guid? InstanceSchemeId { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 实例编号
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        [CodeRule(1)]
							 | 
						|||
| 
								 | 
							
								        public string Code { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 自定义名称
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string CustomName { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 当前节点ID
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string ActivityId { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 当前节点类型 PFFlowInstanceNodeTypeEnum
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public int ActivityType { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 当前节点名称
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string ActivityName { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 当前节点是否可以编辑 0-不可编辑 1-可编辑
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public int ActivityEditable { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 前一个ID
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string PreviousId { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 流程模板内容
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string SchemeContent { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 表单ID
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public Guid? FrmId { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 创建时间
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public System.DateTime CreateDate { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 创建用户主键
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string CreateUserId { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 创建用户
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string CreateUserName { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 实例备注
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string Description { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 状态 PFFlowInstanceOrderStatusEnum
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public int OrderStatus { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
									    /// 执行人
							 | 
						|||
| 
								 | 
							
									    /// </summary>
							 | 
						|||
| 
								 | 
							
								        public string MakerList { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>执行人名称</summary>
							 | 
						|||
| 
								 | 
							
								        public string Vir_MakerName { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 实体类型 参考PFCodeRuleType
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public int EntityType { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>实体全称</summary>
							 | 
						|||
| 
								 | 
							
								        public string EntityTypeFullName { get; set; }
							 | 
						|||
| 
								 | 
							
								        /// <summary>实体ID</summary>
							 | 
						|||
| 
								 | 
							
								        public Guid? EntityId { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        /// <summary>
							 | 
						|||
| 
								 | 
							
								        /// 实体审核状态
							 | 
						|||
| 
								 | 
							
								        /// </summary>
							 | 
						|||
| 
								 | 
							
								        public int EntityFlowStatus { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public virtual T_PF_FLOW_SCHEME InstanceScheme { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public virtual T_PF_FORM Form { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public virtual List<T_PF_FLOW_INSTANCE_TRANS_HIS> TransitionHistorys { get; set; }
							 | 
						|||
| 
								 | 
							
								
							 | 
						|||
| 
								 | 
							
								        public virtual List<T_PF_FLOW_INSTANCE_OPER_HIS> OperationHistorys { get; set; }
							 | 
						|||
| 
								 | 
							
								    }
							 | 
						|||
| 
								 | 
							
								}
							 |