package com.smppw.modaq.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
@TableName("mo_task_record")
public class TaskRecordDO {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String taskKey;

    private Date startTime;

    private Date endTime;

    private Integer status;

    private String errMsg;

    /**
     * 创建时间
     */
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "updatetime", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
