package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import lombok.Data;
|
|
import java.time.LocalDateTime;
|
|
/**
|
* @author zhibing.pu
|
* @Date 2024/12/17 20:20
|
*/
|
@Data
|
@TableName("t_task_detail")
|
public class TaskDetail {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 任务编号
|
*/
|
@TableField("code")
|
private String code;
|
/**
|
* 任务id
|
*/
|
@TableField("patrol_task_id")
|
private Integer patrolTaskId;
|
/**
|
* 执行状态(1=待执行,2=进行中,3=成功,4=失败)
|
*/
|
@TableField("status")
|
private Integer status;
|
/**
|
* 执行时间
|
*/
|
@TableField("execution_time")
|
private LocalDateTime executionTime;
|
/**
|
* 删除(0=否,1=是)
|
*/
|
@TableField("del_flag")
|
private Integer delFlag;
|
}
|