RuleCondition.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. using Datory;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity.WorkProcess
  4. {
  5. /// <summary>
  6. /// 条件节点规则
  7. /// </summary>
  8. [DataTable("tede_rule_condition")]
  9. public class RuleCondition : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 条件节点id
  13. /// </summary>
  14. [DataColumn]
  15. public int NodeId { get; set; }
  16. /// <summary>
  17. /// 流程表单字段id
  18. /// </summary>
  19. [DataColumn]
  20. public int FieldId { get; set; }
  21. /// <summary>
  22. /// 操作符
  23. /// </summary>
  24. [DataColumn]
  25. public string Operator { get; set; }
  26. /// <summary>
  27. /// 字符串
  28. /// </summary>
  29. [DataColumn]
  30. public string StringValue { get; set; }
  31. /// <summary>
  32. /// 字符串数组
  33. /// </summary>
  34. [DataColumn]
  35. public string StringValues { get; set; }
  36. /// <summary>
  37. /// 数字
  38. /// </summary>
  39. [DataColumn]
  40. public int IntValue { get; set; }
  41. /// <summary>
  42. /// 优先级
  43. /// </summary>
  44. [DataColumn]
  45. public int Sort { get; set; }
  46. //条件类型情况
  47. //小于
  48. //只有最大值有值
  49. //大于
  50. //只有最小值有值
  51. //小于等于
  52. //只有最大值和等于值有值
  53. //大于等于
  54. //只有最小值和等于值有值
  55. //等于,选项
  56. //只有等于值有值
  57. //介于两者之间
  58. //只有最小值和最大值有值
  59. }
  60. }