CommonWorkflowAuditorInfo.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using Abp.Domain.Entities;
  2. using Abp.Domain.Entities.Auditing;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using VberZero.Workflow.Persistence;
  6. namespace VberZero.BaseSystem
  7. {
  8. /// <summary>
  9. /// 通用审批
  10. /// </summary>
  11. [Table("Sys_WorkflowAuditor")]
  12. public class CommonWorkflowAuditorInfo : CreationAuditedEntity<string>, IMayHaveTenant
  13. {
  14. public string WorkflowId { get; set; }
  15. [ForeignKey("WorkflowId")]
  16. public WorkflowInfo Workflow { get; set; }
  17. /// <summary>
  18. ///
  19. /// </summary>
  20. public string ExecutionPointerId { get; set; }
  21. [ForeignKey("ExecutionPointerId")]
  22. public WorkflowExecutionPointerInfo ExecutionPointer { get; set; }
  23. /// <summary>
  24. /// 状态
  25. /// </summary>
  26. public VzDefinition.WorkflowAuditStatus Status { get; set; }
  27. /// <summary>
  28. /// 审核时间
  29. /// </summary>
  30. public DateTime? AuditTime { get; set; }
  31. /// <summary>
  32. /// 备注
  33. /// </summary>
  34. [StringLength(500)]
  35. public string Remark { get; set; }
  36. /// <summary>
  37. /// 审核人Id
  38. /// </summary>
  39. public long UserId { get; set; }
  40. /// <summary>
  41. /// 审核人
  42. /// </summary>
  43. public string UserIdentityName { get; set; }
  44. /// <summary>
  45. /// 头像
  46. /// </summary>
  47. public string UserHeadPhoto { get; set; }
  48. /// <summary>
  49. ///
  50. /// </summary>
  51. public int? TenantId { get; set; }
  52. }
  53. }