ProcessDefinition.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.qqflow.engine.domain.flow.po;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableLogic;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import io.swagger.v3.oas.annotations.media.Schema;
  8. import lombok.Data;
  9. import java.time.LocalDateTime;
  10. @Data
  11. @TableName("bpm_process_definition")
  12. @Schema(description = "流程定义")
  13. public class ProcessDefinition {
  14. @TableId(type = IdType.AUTO)
  15. @Schema(description = "ID")
  16. private Long id;
  17. @TableField("process_code")
  18. @Schema(description = "流程编码")
  19. private String processCode;
  20. @TableField("process_name")
  21. @Schema(description = "流程名称")
  22. private String processName;
  23. @TableField("category")
  24. @Schema(description = "分类")
  25. private String category;
  26. @TableField("form_id")
  27. @Schema(description = "表单ID")
  28. private Long formId;
  29. @TableField("form_schema")
  30. @Schema(description = "表单字段定义JSON")
  31. private String formSchema;
  32. @TableField("model_json")
  33. @Schema(description = "模型JSON")
  34. private String modelJson;
  35. @TableField("version")
  36. @Schema(description = "版本号")
  37. private Integer version;
  38. @TableField("status")
  39. @Schema(description = "状态:0设计中1启用中2历史")
  40. private Integer status;
  41. @TableField("description")
  42. @Schema(description = "描述")
  43. private String description;
  44. @TableField("create_by")
  45. @Schema(description = "创建人")
  46. private Long createBy;
  47. @TableField("create_time")
  48. @Schema(description = "创建时间")
  49. private LocalDateTime createTime;
  50. @TableField("update_by")
  51. @Schema(description = "更新人")
  52. private Long updateBy;
  53. @TableField("update_time")
  54. @Schema(description = "更新时间")
  55. private LocalDateTime updateTime;
  56. @TableLogic
  57. @TableField("deleted")
  58. @Schema(description = "是否删除")
  59. private Integer deleted;
  60. }