You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
2.8 KiB
Java
148 lines
2.8 KiB
Java
package com.glxp.api.entity.dev;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Builder;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.experimental.Accessors;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
/**
|
|
* 巡检任务表
|
|
*
|
|
* @TableName device_check
|
|
*/
|
|
@TableName(value = "device_check")
|
|
@Data
|
|
@Builder
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
@Accessors(chain = true)
|
|
public class DeviceCheckEntity {
|
|
/**
|
|
* 巡检任务id
|
|
*/
|
|
@TableId(value = "taskId")
|
|
private Long taskId;
|
|
|
|
/**
|
|
* 巡检任务单号
|
|
*/
|
|
@TableField(value = "taskBillNo")
|
|
private String taskBillNo;
|
|
|
|
/**
|
|
* 计划id
|
|
*/
|
|
@TableField(value = "planId")
|
|
private Long planId;
|
|
|
|
/**
|
|
* 计划名称
|
|
*/
|
|
@TableField(value = "planName")
|
|
private String planName;
|
|
|
|
/**
|
|
* 负责部门编码
|
|
*/
|
|
@TableField(value = "chargeDeptCode")
|
|
private String chargeDeptCode;
|
|
|
|
/**
|
|
* 巡检人id
|
|
*/
|
|
@TableField(value = "checkUserId")
|
|
private Long checkUserId;
|
|
|
|
/**
|
|
* 巡检人姓名
|
|
*/
|
|
@TableField(value = "checkUserName")
|
|
private String checkUserName;
|
|
|
|
/**
|
|
* 巡检人电话
|
|
*/
|
|
@TableField(value = "checkUserPhone")
|
|
private String checkUserPhone;
|
|
|
|
/**
|
|
* 设备数量
|
|
*/
|
|
@TableField(value = "deviceCount")
|
|
private Integer deviceCount;
|
|
|
|
/**
|
|
* 完成设备数量
|
|
*/
|
|
@TableField(value = "finishCount")
|
|
private Integer finishCount;
|
|
|
|
/**
|
|
* 异常设备数量
|
|
*/
|
|
@TableField(value = "exceptionCount")
|
|
private Integer exceptionCount;
|
|
|
|
/**
|
|
* 任务名称
|
|
*/
|
|
@TableField(value = "name")
|
|
private String name;
|
|
|
|
/**
|
|
* 任务备注
|
|
*/
|
|
@TableField(value = "remark")
|
|
private String remark;
|
|
|
|
/**
|
|
* 是否系统创建 1/true 是 0/false 否
|
|
*/
|
|
@TableField(value = "sysFlag")
|
|
private Boolean sysFlag;
|
|
|
|
/**
|
|
* 是否已完成 1/true 是 0/false 否
|
|
*/
|
|
@TableField(value = "finishFlag")
|
|
private Boolean finishFlag;
|
|
|
|
/**
|
|
* 完成时间
|
|
*/
|
|
@TableField(value = "finishTime")
|
|
private LocalDateTime finishTime;
|
|
|
|
/**
|
|
* 创建时间 updateTime
|
|
*/
|
|
@TableField(value = "createTime")
|
|
private LocalDateTime createTime;
|
|
|
|
/**
|
|
* 创建人id
|
|
*/
|
|
@TableField(value = "createUserId")
|
|
private Long createUserId;
|
|
|
|
/**
|
|
* 创建人姓名
|
|
*/
|
|
@TableField(value = "createUserName")
|
|
private String createUserName;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
@TableField(value = "updateTime")
|
|
private LocalDateTime updateTime;
|
|
|
|
|
|
}
|