CounterSignConfig.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package jnpf.flowable.model.templatenode.nodejson;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import jnpf.flowable.model.util.FlowNature;
  4. import lombok.Data;
  5. import java.io.Serializable;
  6. /**
  7. * 会签流转配置
  8. *
  9. * @author JNPF@YinMai Info. Co., Ltd
  10. * @version 5.0.x
  11. * @since 2024/4/16 10:09
  12. */
  13. @Data
  14. public class CounterSignConfig implements Serializable {
  15. /**
  16. * 通过类型 0.无 1.百分比 2.人数
  17. */
  18. @Schema(description = "通过类型")
  19. private Integer auditType = FlowNature.Percent;
  20. /**
  21. * 通过百分比
  22. */
  23. @Schema(description = "通过百分比")
  24. private Integer auditRatio = 100;
  25. /**
  26. * 通过人数
  27. */
  28. @Schema(description = "通过人数")
  29. private Integer auditNum = 1;
  30. /**
  31. * 拒绝类型 0.无 1.百分比 2.人数
  32. */
  33. @Schema(description = "拒绝类型")
  34. private Integer rejectType = FlowNature.Percent;
  35. /**
  36. * 拒绝百分比
  37. */
  38. @Schema(description = "拒绝百分比")
  39. private Integer rejectRatio = 10;
  40. /**
  41. * 拒绝人数
  42. */
  43. @Schema(description = "拒绝人数")
  44. private Integer rejectNum = 1;
  45. /**
  46. * 计算方式,1.实时计算 2.延后计算
  47. */
  48. @Schema(description = "计算方式")
  49. private Integer calculateType = FlowNature.CALCULATE_TYPE_DELAY;
  50. }