PrintConfig.java 919 B

12345678910111213141516171819202122232425262728293031323334353637
  1. package jnpf.flowable.model.templatenode.nodejson;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import jnpf.flowable.enums.PrintEnum;
  4. import lombok.Data;
  5. import java.util.ArrayList;
  6. import java.util.List;
  7. @Data
  8. public class PrintConfig {
  9. /**
  10. * 开启打印
  11. */
  12. @Schema(description = "开启打印")
  13. private Boolean on = false;
  14. /**
  15. * 模板
  16. */
  17. @Schema(description = "模板")
  18. private List<String> printIds = new ArrayList<>();
  19. /**
  20. * 1:不限制 2:节点结束 3:流程结束 4:条件设置
  21. */
  22. @Schema(description = "打印配置")
  23. private Integer conditionType = PrintEnum.none.getCode();
  24. /**
  25. * 条件设置
  26. */
  27. @Schema(description = "条件设置")
  28. private List<ProperCond> conditions = new ArrayList<>();
  29. /**
  30. * 逻辑
  31. */
  32. @Schema(description = "逻辑")
  33. private String matchLogic = "and";
  34. }