WFProcessInstanceEntity.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. 
  2. using LeaRun.Application.Code;
  3. using System;
  4. namespace LeaRun.Application.Entity.FlowManage
  5. {
  6. /// <summary>
  7. /// 版 本
  8. /// Copyright (c) 2013-2016 上海力软信息技术有限公司
  9. /// 创建人:陈彬彬
  10. /// 日 期:2016.03.18 09:58
  11. /// 描 述:工作流实例表
  12. /// </summary>
  13. public class WFProcessInstanceEntity : BaseEntity
  14. {
  15. #region 获取/设置 字段值
  16. /// <summary>
  17. /// 主键
  18. /// </summary>
  19. public string Id { get; set; }
  20. /// <summary>
  21. /// 实例名称
  22. /// </summary>
  23. public string Code { get; set; }
  24. /// <summary>
  25. /// 自定定义标题
  26. /// </summary>
  27. public string CustomName { get; set;}
  28. /// <summary>
  29. /// 当前节点ID
  30. /// </summary>
  31. public string ActivityId { get; set; }
  32. /// <summary>
  33. /// 获取节点类型 0会签开始,1会签结束,2一般节点,开始节点,4流程运行结束
  34. /// </summary>
  35. public int? ActivityType { get; set; }
  36. /// <summary>
  37. /// 当前节点名称
  38. /// </summary>
  39. public string ActivityName { get; set; }
  40. /// <summary>
  41. /// 上一个节点Id
  42. /// </summary>
  43. public string PreviousId { get; set; }
  44. /// <summary>
  45. /// 流程实例模板Id
  46. /// </summary>
  47. public string ProcessSchemeId { get; set; }
  48. /// <summary>
  49. /// 执行人
  50. /// </summary>
  51. public string MakerList { get; set; }
  52. /// <summary>
  53. /// 实例类型
  54. /// </summary>
  55. public string SchemeType { get; set; }
  56. /// <summary>
  57. /// 表单类型(0自定义,1系统)
  58. /// </summary>
  59. public int? FrmType { get; set; }
  60. /// <summary>
  61. /// 有效标志(0暂停,1正常运行,3草稿)
  62. /// </summary>
  63. public int? EnabledMark { get; set; }
  64. /// <summary>
  65. /// 创建日期
  66. /// </summary>
  67. public DateTime? CreateDate { get; set; }
  68. /// <summary>
  69. /// 创建用户主键
  70. /// </summary>
  71. public string CreateUserId { get; set; }
  72. /// <summary>
  73. /// 创建用户
  74. /// </summary>
  75. public string CreateUserName { get; set; }
  76. /// <summary>
  77. /// 重要等级
  78. /// </summary>
  79. public int? wfLevel { get; set; }
  80. /// <summary>
  81. /// 备注
  82. /// </summary>
  83. public string Description { get; set; }
  84. /// <summary>
  85. /// 流程是否完成(0运行中,1运行结束,2被召回,3不同意,4表示被驳回)
  86. /// </summary>
  87. public int? isFinish { get; set; }
  88. #endregion
  89. #region 扩展操作
  90. /// <summary>
  91. /// 新增调用
  92. /// </summary>
  93. public override void Create()
  94. {
  95. this.CreateDate = DateTime.Now;
  96. this.CreateUserId = OperatorProvider.Provider.Current().UserId;
  97. this.CreateUserName = OperatorProvider.Provider.Current().UserName;
  98. }
  99. /// <summary>
  100. /// 编辑调用
  101. /// </summary>
  102. /// <param name="keyValue"></param>
  103. public override void Modify(string keyValue)
  104. {
  105. this.Id = keyValue;
  106. }
  107. #endregion
  108. }
  109. }