ProcessDto.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. using System.Collections.Generic;
  2. namespace GxPress.Entity.WorkProcessDto
  3. {
  4. /// <summary>
  5. /// 添加流程定义
  6. /// </summary>
  7. public class ProcessDto
  8. {
  9. /// <summary>
  10. /// id
  11. /// </summary>
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 基本信息
  15. /// </summary>
  16. /// <summary>
  17. /// 名称
  18. /// </summary>
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// 工作流组id
  22. /// </summary>
  23. public int GroupId { get; set; }
  24. /// <summary>
  25. /// 图标url
  26. /// </summary>
  27. public string IconUrl { get; set; }
  28. /// <summary>
  29. /// 描述
  30. /// </summary>
  31. public string Description { get; set; }
  32. /// <summary>
  33. /// 限制类型
  34. /// NoLimit,没有限制
  35. /// LimitUser,限制用户
  36. /// LimitDepartment, 限制部门
  37. /// LimitRole,限制角色
  38. /// </summary>
  39. public string LimitType { get; set; }
  40. /// <summary>
  41. /// 排序
  42. /// </summary>
  43. public int Sort { get; set; }
  44. /// <summary>
  45. /// 发起限制
  46. /// </summary>
  47. public List<RequestLimit> RequestLimits { get; set; }
  48. /// <summary>
  49. /// 表单定义
  50. /// </summary>
  51. public List<FormField> FormFields { get; set; }
  52. /// <summary>
  53. /// 节点定义
  54. /// </summary>
  55. public List<ProcessNodeDto> ProcessNodes { get; set; }
  56. /// <summary>
  57. /// 是否允许用户自选审批人
  58. /// </summary>
  59. public bool AllowApproverCheck { get; set; }
  60. /// <summary>
  61. /// 是否允许用户自选抄送人
  62. /// </summary>
  63. public bool AllowCarbonCopy { get; set; }
  64. /// <summary>
  65. /// Word模板文件地址
  66. /// </summary>
  67. public string TemplatePath { get; set; }
  68. }
  69. }