ProcessField.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using Datory;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity.WorkProcess
  4. {
  5. /// <summary>
  6. /// 流程表单字段
  7. /// </summary>
  8. [DataTable("tede_process_field")]
  9. public class ProcessField : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 流程id
  13. /// </summary>
  14. [DataColumn]
  15. public int ProcessId { get; set; }
  16. /// <summary>
  17. /// 字段显示名称
  18. /// </summary>
  19. [DataColumn]
  20. public string Label { get; set; }
  21. /// <summary>
  22. /// 字段类型
  23. /// ProcessFieldType
  24. /// </summary>
  25. [DataColumn]
  26. public string Type { get; set; }
  27. /// <summary>
  28. /// 输入提示
  29. /// </summary>
  30. [DataColumn]
  31. public string Placeholder { get; set; }
  32. /// <summary>
  33. /// 单位
  34. /// </summary>
  35. [DataColumn]
  36. public string Unit { get; set; }
  37. /// <summary>
  38. /// 是否必填(只有必填项才可以作为审批条件)
  39. /// </summary>
  40. [DataColumn]
  41. public bool Required { get; set; }
  42. /// <summary>
  43. /// 排序
  44. /// </summary>
  45. [DataColumn]
  46. public int Sort { get; set; }
  47. /// <summary>
  48. /// 选项
  49. /// </summary>
  50. [DataColumn]
  51. public string Options { get; set; }
  52. }
  53. }