package com.qqflow.engine.domain.flow.po; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.time.LocalDateTime; @Data @TableName("bpm_process_definition") @Schema(description = "流程定义") public class ProcessDefinition { @TableId(type = IdType.AUTO) @Schema(description = "ID") private Long id; @TableField("process_code") @Schema(description = "流程编码") private String processCode; @TableField("process_name") @Schema(description = "流程名称") private String processName; @TableField("category") @Schema(description = "分类") private String category; @TableField("form_id") @Schema(description = "表单ID") private Long formId; @TableField("form_schema") @Schema(description = "表单字段定义JSON") private String formSchema; @TableField("model_json") @Schema(description = "模型JSON") private String modelJson; @TableField("version") @Schema(description = "版本号") private Integer version; @TableField("status") @Schema(description = "状态:0设计中1启用中2历史") private Integer status; @TableField("description") @Schema(description = "描述") private String description; @TableField("create_by") @Schema(description = "创建人") private Long createBy; @TableField("create_time") @Schema(description = "创建时间") private LocalDateTime createTime; @TableField("update_by") @Schema(description = "更新人") private Long updateBy; @TableField("update_time") @Schema(description = "更新时间") private LocalDateTime updateTime; @TableLogic @TableField("deleted") @Schema(description = "是否删除") private Integer deleted; }