郑永安
2023-09-19 69185134fcfaf913ea45f1255677225a2cc311a4
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
package com.gk.hotwork.Domain;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 
import java.util.Date;
 
/**
 * @author jingjy
 * @date 2021-8-19 16:48:22
 */
@TableName("tasklog")
public class TaskLog {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
 
    /** 任务日志记录  id **/
    @TableId(type = IdType.AUTO)
    private Long id;
 
    /** 任务编号  taskcode **/
    private String taskcode;
 
    /** 内容  content **/
    private String content;
 
    /** 审批人  operator **/
    private String operator;
 
    /** 操作时间  operationat **/
    private Date operationat;
 
    /** 单位  unit **/
    private String unit;
 
    /**   flag **/
    private Byte flag;
 
    /**   任务日志记录  id   **/
    public Long getId() {
        return id;
    }
 
    /**   任务日志记录  id   **/
    public void setId(Long id) {
        this.id = id;
    }
 
    /**   任务编号  taskcode   **/
    public String getTaskcode() {
        return taskcode;
    }
 
    /**   任务编号  taskcode   **/
    public void setTaskcode(String taskcode) {
        this.taskcode = taskcode == null ? null : taskcode.trim();
    }
 
    /**   内容  content   **/
    public String getContent() {
        return content;
    }
 
    /**   内容  content   **/
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
 
    /**   审批人  operator   **/
    public String getOperator() {
        return operator;
    }
 
    /**   审批人  operator   **/
    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }
 
    /**   操作时间  operationat   **/
    public Date getOperationat() {
        return operationat;
    }
 
    /**   操作时间  operationat   **/
    public void setOperationat(Date operationat) {
        this.operationat = operationat;
    }
 
    /**   单位  unit   **/
    public String getUnit() {
        return unit;
    }
 
    /**   单位  unit   **/
    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }
 
    /**     flag   **/
    public Byte getFlag() {
        return flag;
    }
 
    /**     flag   **/
    public void setFlag(Byte flag) {
        this.flag = flag;
    }
 
    public TaskLog() {
    }
 
    public TaskLog(String taskCode, String content, String operator, Date operationAt, String unit) {
        this.taskcode = taskCode;
        this.content = content;
        this.operator = operator;
        this.operationat = operationAt;
        this.unit = unit;
    }
}