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