using Abp.Domain.Entities; using Abp.Domain.Entities.Auditing; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using VberZero.Workflow.Persistence; namespace VberZero.BaseSystem { /// /// 通用审批 /// [Table("Sys_WorkflowAuditor")] public class CommonWorkflowAuditorInfo : CreationAuditedEntity, IMayHaveTenant { public string WorkflowId { get; set; } [ForeignKey("WorkflowId")] public WorkflowInfo Workflow { get; set; } /// /// /// public string ExecutionPointerId { get; set; } [ForeignKey("ExecutionPointerId")] public WorkflowExecutionPointerInfo ExecutionPointer { get; set; } /// /// 状态 /// public VzDefinition.WorkflowAuditStatus Status { get; set; } /// /// 审核时间 /// public DateTime? AuditTime { get; set; } /// /// 备注 /// [StringLength(500)] public string Remark { get; set; } /// /// 审核人Id /// public long UserId { get; set; } /// /// 审核人 /// public string UserIdentityName { get; set; } /// /// 头像 /// public string UserHeadPhoto { get; set; } /// /// /// public int? TenantId { get; set; } } }