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; } }