Pu Zhibing
2024-12-23 05e753e2a094de490d34a50a60571835217cd1b8
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
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.time.LocalDateTime;
 
/**
 * @author zhibing.pu
 * @Date 2024/12/17 20:10
 */
@Data
@ApiModel
@TableName("t_patrol_task")
public class PatrolTask {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 任务名称
     */
    @TableField("name")
    @ApiModelProperty("任务名称")
    private String name;
    /**
     * 任务类型(1=定时任务,2=实时任务)
     */
    @TableField("type")
    @ApiModelProperty("任务类型(1=定时任务,2=实时任务)")
    private Integer type;
    /**
     * 数据模型编号
     */
    @TableField("image_model")
    @ApiModelProperty("数据模型编号")
    private String imageModel;
    /**
     * 定时周期json
     */
    @TableField("weeks")
    @ApiModelProperty("定时周期json[1,2,3,4,5,6,7]")
    private String weeks;
    /**
     * 执行时间
     */
    @TableField("execution_time")
    @ApiModelProperty("执行时间")
    private String executionTime;
    /**
     * 开始执行时间
     */
    @TableField("start_time")
    @ApiModelProperty("开始执行时间")
    private LocalDateTime startTime;
    /**
     * 执行结束时间
     */
    @TableField("end_time")
    @ApiModelProperty("执行结束时间")
    private LocalDateTime endTime;
    /**
     * 备注
     */
    @TableField("remark")
    @ApiModelProperty("备注")
    private String remark;
    /**
     * 添加时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;
    /**
     * 添加人id
     */
    @TableField("create_user_id")
    private Integer createUserId;
}