package com.gkhy.safePlatform.equipment.entity;
|
|
import java.sql.Timestamp;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.gkhy.safePlatform.equipment.entity.BaseDomain;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
/**
|
* 设备检测明细(EquipmentTestDetail)表实体类
|
*
|
* @author xurui
|
* @since 2022-08-03 11:15:57
|
*/
|
@SuppressWarnings("serial")
|
@TableName("equipment_test_detail")
|
public class EquipmentTestDetail extends BaseDomain {
|
|
|
@TableId(type = IdType.AUTO)
|
private Long id;
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
//具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施 3:重点监管装置/设备
|
private Integer infoTpe;
|
|
public Integer getInfoTpe() {
|
return infoTpe;
|
}
|
|
public void setInfoTpe(Integer infoTpe) {
|
this.infoTpe = infoTpe;
|
}
|
//设备ID/外键
|
private Long equipmentId;
|
|
public Long getEquipmentId() {
|
return equipmentId;
|
}
|
|
public void setEquipmentId(Long equipmentId) {
|
this.equipmentId = equipmentId;
|
}
|
//检测人/外键
|
private Long testPersonId;
|
|
public Long getTestPersonId() {
|
return testPersonId;
|
}
|
|
public void setTestPersonId(Long testPersonId) {
|
this.testPersonId = testPersonId;
|
}
|
//检测人名称
|
private String testPersonName;
|
|
public String getTestPersonName() {
|
return testPersonName;
|
}
|
|
public void setTestPersonName(String testPersonName) {
|
this.testPersonName = testPersonName;
|
}
|
//检测日期
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
private Timestamp testDate;
|
|
public Timestamp getTestDate() {
|
return testDate;
|
}
|
|
public void setTestDate(Timestamp testDate) {
|
this.testDate = testDate;
|
}
|
//检测人单位/外键
|
private Long testPersonDepartmentId;
|
|
public Long getTestPersonDepartmentId() {
|
return testPersonDepartmentId;
|
}
|
|
public void setTestPersonDepartmentId(Long testPersonDepartmentId) {
|
this.testPersonDepartmentId = testPersonDepartmentId;
|
}
|
//检测人单位名称
|
private String testPersonDepartmentName;
|
|
public String getTestPersonDepartmentName() {
|
return testPersonDepartmentName;
|
}
|
|
public void setTestPersonDepartmentName(String testPersonDepartmentName) {
|
this.testPersonDepartmentName = testPersonDepartmentName;
|
}
|
//检测内容
|
private String testMemo;
|
|
public String getTestMemo() {
|
return testMemo;
|
}
|
|
public void setTestMemo(String testMemo) {
|
this.testMemo = testMemo;
|
}
|
//检测结果 1:正常 2:异常
|
private Integer testResult;
|
|
public Integer getTestResult() {
|
return testResult;
|
}
|
|
public void setTestResult(Integer testResult) {
|
this.testResult = testResult;
|
}
|
//检测状态
|
private String testStatus;
|
|
public String getTestStatus() {
|
return testStatus;
|
}
|
|
public void setTestStatus(String testStatus) {
|
this.testStatus = testStatus;
|
}
|
|
}
|