songhuangfeng123
2022-08-10 56ba708b25e1834eeb6c0366945b2c1fbafcfbe5
equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/EquipmentInfoSaveOrUpdate.java
@@ -1,5 +1,6 @@
package com.gkhy.safePlatform.equipment.model.dto.req;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.gkhy.safePlatform.equipment.entity.*;
import java.io.Serializable;
@@ -26,32 +27,42 @@
    private Long departmentId;
    //设置部位    
    private String setPart;
    //生产日期
    //生产日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp produceTime;
    //使用期限(天)    
    private String useEndDay;
    //生命周期 1:已使用 2:库存中 3:报废    
    private Integer lifeCycle;
    //投用日期
    //投用日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp useDate;
    //维修状态 1:维修中 2:已修好    
    private Integer repairStatus;
    //停用状态 1:停用 2.在用 3.维修 4.报废    
    private Integer 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 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 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 nextTakecareDate;
    //负责人ID外键    
    private Long leadingPersonId;
    //负责人名称
    private String leadingPersonName;
    //负责人部门外键    
    private Long leadingPersonDepartmentId;
    //供应商    
@@ -86,27 +97,35 @@
    private String stopReason;
    //停用后措施    
    private String afterStopStep;
    //实际停用日期
    //实际停用日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp actualStopDate;
    //停用提交人/外键    
    private Long stopSubmitPersonId;
    //停用提交日期
    //停用提交人名称
    private String stopSubmitPersonName;
    //停用提交日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp stopSubmitDate;
    //恢复理由    
    private String 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 actualRecoveryDate;
    //报废理由    
    private String 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 actualDestoryDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp updateTime;
    //设备保养
@@ -144,6 +163,22 @@
    //要删除的检查标准
    private String delCheckStandardeDetails;
    public String getLeadingPersonName() {
        return leadingPersonName;
    }
    public void setLeadingPersonName(String leadingPersonName) {
        this.leadingPersonName = leadingPersonName;
    }
    public String getStopSubmitPersonName() {
        return stopSubmitPersonName;
    }
    public void setStopSubmitPersonName(String stopSubmitPersonName) {
        this.stopSubmitPersonName = stopSubmitPersonName;
    }
    public String getDelTakecareDetails() {
        return delTakecareDetails;
@@ -634,4 +669,27 @@
    public List<EquipmentCheckStandardDetail> getCheckStandardeDetailList() {
        return checkStandardeDetailList;
    }
    //区域ID/外键
    private Long areaId;
    //区域名称
    private String areaName;
    public Long getAreaId() {
        return areaId;
    }
    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }
    public String getAreaName() {
        return areaName;
    }
    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}