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