Pu Zhibing
2024-12-24 5c2176867b9fe0ff4b70e352c5f643f2ae5c1bc3
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
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;
}