WorkflowAssign.cs 789 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using XF.Domain.Repository;
  7. namespace Hotline.FlowEngine.Workflows
  8. {
  9. /// <summary>
  10. /// 接办部门(上级办理时指派了下级,即生成记录)
  11. /// </summary>
  12. public class WorkflowAssign : CreationEntity
  13. {
  14. public string WorkflowId { get; set; }
  15. public string OrgCode { get; set; }
  16. public string OrgName { get; set; }
  17. public static WorkflowAssign Create(string workflowId, string orgCode, string orgName)
  18. {
  19. return new WorkflowAssign
  20. {
  21. WorkflowId = workflowId,
  22. OrgCode = orgCode,
  23. OrgName = orgName,
  24. };
  25. }
  26. }
  27. }