fuliqi
2025-02-14 9563594760a226250f7f317019792949c0606eb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.ycl.domain.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ycl.common.enums.business.ProcessLogEventTypeEnum;
import com.ycl.system.domain.base.AbsEntity;
import lombok.Data;
 
/**
 * 流程日志
 *
 * @author xp
 * @since 2025-01-02
 */
@Data
@TableName("t_process_log")
public class ProcessLog extends AbsEntity {
 
    private static final long serialVersionUID = 1L;
 
    @TableField("task_id")
    /** 任务id */
    private String taskId;
 
    @TableField("task_name")
    /** 任务名 */
    private String taskName;
    @TableField("event_type")
    /** 事件日志类型 */
    private ProcessLogEventTypeEnum eventType;
 
    @TableField("project_id")
    /** 项目id */
    private Long projectId;
 
    @TableField("process_ins_id")
    /** 流程实例id */
    private String processInsId;
 
    @TableField("user_id")
    /** 产生日志的人/或其它 */
    private Long userId;
 
    @TableField("event_data_json")
    /** 事件数据,根据不同的事件可存储对应的扩展数据。如转办事件可存储转办前后的处理人信息 */
    private String eventDataJson;
 
 
}