From f241a39f07acc5d5ede28b4152d74cbb84e4885b Mon Sep 17 00:00:00 2001 From: zhangfeng <1603559716@qq.com> Date: 星期二, 08 十一月 2022 08:37:36 +0800 Subject: [PATCH] 安全物资和设备管理 --- equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentInfo.java | 280 +++++++++++++++++++++++++++++-------------------------- 1 files changed, 149 insertions(+), 131 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentInfo.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentInfo.java index edaed14..c82dddb 100644 --- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentInfo.java +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/entity/EquipmentInfo.java @@ -1,24 +1,23 @@ 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; +import com.fasterxml.jackson.annotation.JsonFormat; /** * 设备设施详细信息(EquipmentInfo)表实体类 * * @author xurui - * @since 2022-08-03 10:55:54 + * @since 2022-08-29 08:37:54 */ @SuppressWarnings("serial") @TableName("equipment_info") public class EquipmentInfo extends BaseDomain { - - + + @TableId(type = IdType.AUTO) private Long id; public Long getId() { @@ -30,8 +29,8 @@ } //类型/类别外键 - private Long equipmentTypeId; - + private Long equipmentTypeId; + public Long getEquipmentTypeId() { return equipmentTypeId; } @@ -39,9 +38,9 @@ public void setEquipmentTypeId(Long equipmentTypeId) { this.equipmentTypeId = equipmentTypeId; } - //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施 - private Integer infoType; - + //具体类型(页面左侧的导航栏使用) 0:仪器仪表信息 1:生产设备设施 2:安全设备设施 + private Integer infoType; + public Integer getInfoType() { return infoType; } @@ -50,8 +49,8 @@ this.infoType = infoType; } //名称 - private String qName; - + private String qName; + public String getQName() { return qName; } @@ -60,8 +59,8 @@ this.qName = qName; } //位号 - private String positionNum; - + private String positionNum; + public String getPositionNum() { return positionNum; } @@ -70,8 +69,8 @@ this.positionNum = positionNum; } //用途 - private String qUsage; - + private String qUsage; + public String getQUsage() { return qUsage; } @@ -80,8 +79,8 @@ this.qUsage = qUsage; } //型号 - private String model; - + private String model; + public String getModel() { return model; } @@ -90,8 +89,8 @@ this.model = model; } //单位部门外键 - private Long departmentId; - + private Long departmentId; + public Long getDepartmentId() { return departmentId; } @@ -100,8 +99,8 @@ this.departmentId = departmentId; } //设置部位 - private String setPart; - + private String setPart; + public String getSetPart() { return setPart; } @@ -110,9 +109,9 @@ this.setPart = setPart; } //生产日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp produceTime; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp produceTime; + public Timestamp getProduceTime() { return produceTime; } @@ -121,8 +120,8 @@ this.produceTime = produceTime; } //使用期限(天) - private String useEndDay; - + private String useEndDay; + public String getUseEndDay() { return useEndDay; } @@ -131,19 +130,19 @@ this.useEndDay = useEndDay; } //生命周期 1:已使用 2:库存中 3:报废 - private Integer lifeCycle; - - public Integer getLifeCycle() { + private Byte lifeCycle; + + public Byte getLifeCycle() { return lifeCycle; } - public void setLifeCycle(Integer lifeCycle) { + public void setLifeCycle(Byte lifeCycle) { this.lifeCycle = lifeCycle; } //投用日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp useDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp useDate; + public Timestamp getUseDate() { return useDate; } @@ -152,29 +151,29 @@ this.useDate = useDate; } //维修状态 1:维修中 2:已修好 - private Integer repairStatus; - - public Integer getRepairStatus() { + private Byte repairStatus; + + public Byte getRepairStatus() { return repairStatus; } - public void setRepairStatus(Integer repairStatus) { + public void setRepairStatus(Byte repairStatus) { this.repairStatus = repairStatus; } //停用状态 1:停用 2.在用 3.维修 4.报废 - private Integer stopStatus; - - public Integer getStopStatus() { + private Byte stopStatus; + + public Byte getStopStatus() { return stopStatus; } - public void setStopStatus(Integer stopStatus) { + public void setStopStatus(Byte stopStatus) { this.stopStatus = stopStatus; } //上次检查日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp previousCheckDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp previousCheckDate; + public Timestamp getPreviousCheckDate() { return previousCheckDate; } @@ -183,9 +182,9 @@ this.previousCheckDate = previousCheckDate; } //上次检测日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp previousTestDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp previousTestDate; + public Timestamp getPreviousTestDate() { return previousTestDate; } @@ -194,9 +193,9 @@ this.previousTestDate = previousTestDate; } //上次保养日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp previousTakecareDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp previousTakecareDate; + public Timestamp getPreviousTakecareDate() { return previousTakecareDate; } @@ -205,9 +204,9 @@ this.previousTakecareDate = previousTakecareDate; } //下次检查日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp nextCheckDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp nextCheckDate; + public Timestamp getNextCheckDate() { return nextCheckDate; } @@ -216,9 +215,9 @@ this.nextCheckDate = nextCheckDate; } //下次检测日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp nextTestDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp nextTestDate; + public Timestamp getNextTestDate() { return nextTestDate; } @@ -227,9 +226,9 @@ this.nextTestDate = nextTestDate; } //下次保养日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp nextTakecareDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp nextTakecareDate; + public Timestamp getNextTakecareDate() { return nextTakecareDate; } @@ -238,8 +237,8 @@ this.nextTakecareDate = nextTakecareDate; } //负责人ID外键 - private Long leadingPersonId; - + private Long leadingPersonId; + public Long getLeadingPersonId() { return leadingPersonId; } @@ -248,8 +247,8 @@ this.leadingPersonId = leadingPersonId; } //负责人名称 - private String leadingPersonName; - + private String leadingPersonName; + public String getLeadingPersonName() { return leadingPersonName; } @@ -258,8 +257,8 @@ this.leadingPersonName = leadingPersonName; } //负责人部门外键 - private Long leadingPersonDepartmentId; - + private Long leadingPersonDepartmentId; + public Long getLeadingPersonDepartmentId() { return leadingPersonDepartmentId; } @@ -268,8 +267,8 @@ this.leadingPersonDepartmentId = leadingPersonDepartmentId; } //供应商 - private String supplyName; - + private String supplyName; + public String getSupplyName() { return supplyName; } @@ -278,8 +277,8 @@ this.supplyName = supplyName; } //使用说明 - private String useMemo; - + private String useMemo; + public String getUseMemo() { return useMemo; } @@ -288,8 +287,8 @@ this.useMemo = useMemo; } //是否检查 1:是 2:否 - private Integer isNeedCheck; - + private Integer isNeedCheck; + public Integer getIsNeedCheck() { return isNeedCheck; } @@ -298,8 +297,8 @@ this.isNeedCheck = isNeedCheck; } //检查周期 - private String checkCycle; - + private String checkCycle; + public String getCheckCycle() { return checkCycle; } @@ -308,8 +307,8 @@ this.checkCycle = checkCycle; } //检查提前提醒 - private String checkWarn; - + private String checkWarn; + public String getCheckWarn() { return checkWarn; } @@ -318,8 +317,8 @@ this.checkWarn = checkWarn; } //是否检测 1:是 2:否 - private Integer isNeedTest; - + private Integer isNeedTest; + public Integer getIsNeedTest() { return isNeedTest; } @@ -328,8 +327,8 @@ this.isNeedTest = isNeedTest; } //检测周期 - private String testCycle; - + private String testCycle; + public String getTestCycle() { return testCycle; } @@ -338,8 +337,8 @@ this.testCycle = testCycle; } //检测提前提醒 - private String testWarn; - + private String testWarn; + public String getTestWarn() { return testWarn; } @@ -348,8 +347,8 @@ this.testWarn = testWarn; } //是否保养 1:是 2:否 - private Integer isNeedTakecare; - + private Integer isNeedTakecare; + public Integer getIsNeedTakecare() { return isNeedTakecare; } @@ -358,8 +357,8 @@ this.isNeedTakecare = isNeedTakecare; } //检查内容 - private String checkContent; - + private String checkContent; + public String getCheckContent() { return checkContent; } @@ -368,8 +367,8 @@ this.checkContent = checkContent; } //负责部门/外键 - private Long leadingDepartmentId; - + private Long leadingDepartmentId; + public Long getLeadingDepartmentId() { return leadingDepartmentId; } @@ -378,8 +377,8 @@ this.leadingDepartmentId = leadingDepartmentId; } //检查指标 - private String checkPoint; - + private String checkPoint; + public String getCheckPoint() { return checkPoint; } @@ -388,8 +387,8 @@ this.checkPoint = checkPoint; } //预警值 - private String alertNum; - + private String alertNum; + public String getAlertNum() { return alertNum; } @@ -398,8 +397,8 @@ this.alertNum = alertNum; } //联锁值 - private String lockNum; - + private String lockNum; + public String getLockNum() { return lockNum; } @@ -408,8 +407,8 @@ this.lockNum = lockNum; } //停用理由 - private String stopReason; - + private String stopReason; + public String getStopReason() { return stopReason; } @@ -418,8 +417,8 @@ this.stopReason = stopReason; } //停用后措施 - private String afterStopStep; - + private String afterStopStep; + public String getAfterStopStep() { return afterStopStep; } @@ -428,9 +427,9 @@ this.afterStopStep = afterStopStep; } //实际停用日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp actualStopDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp actualStopDate; + public Timestamp getActualStopDate() { return actualStopDate; } @@ -439,8 +438,8 @@ this.actualStopDate = actualStopDate; } //停用提交人/外键 - private Long stopSubmitPersonId; - + private Long stopSubmitPersonId; + public Long getStopSubmitPersonId() { return stopSubmitPersonId; } @@ -449,8 +448,8 @@ this.stopSubmitPersonId = stopSubmitPersonId; } //停用提交人名称 - private String stopSubmitPersonName; - + private String stopSubmitPersonName; + public String getStopSubmitPersonName() { return stopSubmitPersonName; } @@ -459,9 +458,9 @@ this.stopSubmitPersonName = stopSubmitPersonName; } //停用提交日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp stopSubmitDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp stopSubmitDate; + public Timestamp getStopSubmitDate() { return stopSubmitDate; } @@ -470,8 +469,8 @@ this.stopSubmitDate = stopSubmitDate; } //恢复理由 - private String recoveryReason; - + private String recoveryReason; + public String getRecoveryReason() { return recoveryReason; } @@ -480,9 +479,9 @@ this.recoveryReason = recoveryReason; } //恢复填报日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp recoverySubmitDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp recoverySubmitDate; + public Timestamp getRecoverySubmitDate() { return recoverySubmitDate; } @@ -491,9 +490,9 @@ this.recoverySubmitDate = recoverySubmitDate; } //实际恢复日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp actualRecoveryDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp actualRecoveryDate; + public Timestamp getActualRecoveryDate() { return actualRecoveryDate; } @@ -502,8 +501,8 @@ this.actualRecoveryDate = actualRecoveryDate; } //报废理由 - private String destoryReason; - + private String destoryReason; + public String getDestoryReason() { return destoryReason; } @@ -512,9 +511,9 @@ this.destoryReason = destoryReason; } //报废填报日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp destorySubmitDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp destorySubmitDate; + public Timestamp getDestorySubmitDate() { return destorySubmitDate; } @@ -523,9 +522,9 @@ this.destorySubmitDate = destorySubmitDate; } //实际报废日期 - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") - private Timestamp actualDestoryDate; - + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Timestamp actualDestoryDate; + public Timestamp getActualDestoryDate() { return actualDestoryDate; } @@ -533,12 +532,8 @@ public void setActualDestoryDate(Timestamp actualDestoryDate) { this.actualDestoryDate = actualDestoryDate; } - - //区域ID/外键 - private Long areaId; - - //区域名称 - private String areaName; + //区域ID + private Long areaId; public Long getAreaId() { return areaId; @@ -547,6 +542,8 @@ public void setAreaId(Long areaId) { this.areaId = areaId; } + //区域名称 + private String areaName; public String getAreaName() { return areaName; @@ -555,4 +552,25 @@ public void setAreaName(String areaName) { this.areaName = areaName; } -} \ No newline at end of file + //保养周期 + private String takecareCycle; + + public String getTakecareCycle() { + return takecareCycle; + } + + public void setTakecareCycle(String takecareCycle) { + this.takecareCycle = takecareCycle; + } + //是否删除 0:未删除 1:删除 + private Integer delFlag; + + public Integer getDelFlag() { + return delFlag; + } + + public void setDelFlag(Integer delFlag) { + this.delFlag = delFlag; + } + +} -- Gitblit v1.9.2