wlzboy
2025-09-21 0b80903f3d48b3c39570c097a4334cb7eb71d08f
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
package com.ruoyi.system.domain;
 
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
 
/**
 * 任务操作日志对象 sys_task_log
 * 
 * @author ruoyi
 * @date 2024-01-15
 */
public class SysTaskLog extends BaseEntity {
    private static final long serialVersionUID = 1L;
 
    /** 日志ID */
    private Long logId;
 
    /** 任务ID */
    @Excel(name = "任务ID")
    private Long taskId;
 
    /** 操作类型 */
    @Excel(name = "操作类型", readConverterExp = "CREATE=创建,UPDATE=更新,ASSIGN=分配,STATUS_CHANGE=状态变更,DELETE=删除")
    private String operationType;
 
    /** 操作描述 */
    @Excel(name = "操作描述")
    private String operationDesc;
 
    /** 操作前值 */
    @Excel(name = "操作前值")
    private String oldValue;
 
    /** 操作后值 */
    @Excel(name = "操作后值")
    private String newValue;
 
    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long operatorId;
 
    /** 操作人姓名 */
    @Excel(name = "操作人姓名")
    private String operatorName;
 
    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date operationTime;
 
    /** IP地址 */
    @Excel(name = "IP地址")
    private String ipAddress;
 
    public void setLogId(Long logId) {
        this.logId = logId;
    }
 
    public Long getLogId() {
        return logId;
    }
 
    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
 
    public Long getTaskId() {
        return taskId;
    }
 
    public void setOperationType(String operationType) {
        this.operationType = operationType;
    }
 
    public String getOperationType() {
        return operationType;
    }
 
    public void setOperationDesc(String operationDesc) {
        this.operationDesc = operationDesc;
    }
 
    public String getOperationDesc() {
        return operationDesc;
    }
 
    public void setOldValue(String oldValue) {
        this.oldValue = oldValue;
    }
 
    public String getOldValue() {
        return oldValue;
    }
 
    public void setNewValue(String newValue) {
        this.newValue = newValue;
    }
 
    public String getNewValue() {
        return newValue;
    }
 
    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }
 
    public Long getOperatorId() {
        return operatorId;
    }
 
    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }
 
    public String getOperatorName() {
        return operatorName;
    }
 
    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }
 
    public Date getOperationTime() {
        return operationTime;
    }
 
    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }
 
    public String getIpAddress() {
        return ipAddress;
    }
 
    @Override
    public String toString() {
        return "SysTaskLog{" +
                "logId=" + logId +
                ", taskId=" + taskId +
                ", operationType='" + operationType + '\'' +
                ", operationDesc='" + operationDesc + '\'' +
                ", oldValue='" + oldValue + '\'' +
                ", newValue='" + newValue + '\'' +
                ", operatorId=" + operatorId +
                ", operatorName='" + operatorName + '\'' +
                ", operationTime=" + operationTime +
                ", ipAddress='" + ipAddress + '\'' +
                '}';
    }
}