From 0c1c30026c906f8055b5f0315785175726f9202c Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期四, 20 六月 2024 13:38:42 +0800
Subject: [PATCH] 模块名称修改

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoSta/StaRepairInfo.java |  153 +++++++++++++++++---------------------------------
 1 files changed, 52 insertions(+), 101 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoSta/StaRepairInfo.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoSta/StaRepairInfo.java
index 0464d0d..25ae9c2 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoSta/StaRepairInfo.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoSta/StaRepairInfo.java
@@ -1,118 +1,69 @@
 package com.dy.pmsGlobal.pojoSta;
 
-import java.io.Serializable;
+import com.alibaba.fastjson2.annotation.JSONField;
+import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.dy.common.po.BaseEntity;
+import jakarta.validation.constraints.NotNull;
+import lombok.*;
+
+
+
 import java.util.Date;
-import lombok.Data;
 
 /**
- * 
- * @TableName sta_repair_info
- */
+* 
+* @TableName sta_repair_info
+*/
+@TableName(value="sta_repair_info", autoResultMap = true)
 @Data
-public class StaRepairInfo implements Serializable {
-    /**
-     * 
-     */
-    private Long id;
+@Builder
+@ToString
+@NoArgsConstructor
+@AllArgsConstructor
+public class StaRepairInfo implements BaseEntity {
 
     /**
-     * 璁惧鐮�
-     */
-    private String equipNo;
-
+    * 
+    */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
+    public Long id;
     /**
-     * 浠庡摢涓妭鐐硅繘鍏ョ淮淇�
-     */
-    private String fromNode;
-
+    * 璁惧鐮�
+    */
+    public String equipNo;
     /**
-     * 缁翠慨鍘熷洜
-     */
-    private String repairReason;
-
+    * 浠庡摢涓妭鐐硅繘鍏ョ淮淇�
+    */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
+    public Long fromNode;
     /**
-     * 鍘诲悜鑺傜偣
-     */
-    private String toNode;
-
+    * 缁翠慨鍘熷洜
+    */
+    public String repairReason;
     /**
-     * 缁翠慨鍛樺伐
-     */
-    private String repairBy;
-
+    * 鍘诲悜鑺傜偣
+    */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
+    public Long toNode;
     /**
-     * 缁翠慨鏃堕棿
-     */
-    private Date repairTime;
-
+    * 缁翠慨鍛樺伐
+    */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
+    public Long repairBy;
     /**
-     * 鍒涘缓鏃堕棿
-     */
-    private Date createTime;
-
+    * 缁翠慨鏃堕棿
+    */
+    public Date repairTime;
     /**
-     * 鎺ㄩ�佸憳宸�
-     */
-    private Long createBy;
+    * 鍒涘缓鏃堕棿
+    */
+    public Date createTime;
+    /**
+    * 鎺ㄩ�佸憳宸�
+    */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
+    public Long createBy;
 
-    private static final long serialVersionUID = 1L;
 
-    @Override
-    public boolean equals(Object that) {
-        if (this == that) {
-            return true;
-        }
-        if (that == null) {
-            return false;
-        }
-        if (getClass() != that.getClass()) {
-            return false;
-        }
-        StaRepairInfo other = (StaRepairInfo) that;
-        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
-            && (this.getEquipNo() == null ? other.getEquipNo() == null : this.getEquipNo().equals(other.getEquipNo()))
-            && (this.getFromNode() == null ? other.getFromNode() == null : this.getFromNode().equals(other.getFromNode()))
-            && (this.getRepairReason() == null ? other.getRepairReason() == null : this.getRepairReason().equals(other.getRepairReason()))
-            && (this.getToNode() == null ? other.getToNode() == null : this.getToNode().equals(other.getToNode()))
-            && (this.getRepairBy() == null ? other.getRepairBy() == null : this.getRepairBy().equals(other.getRepairBy()))
-            && (this.getRepairTime() == null ? other.getRepairTime() == null : this.getRepairTime().equals(other.getRepairTime()))
-            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
-            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()));
-    }
-
-    @Override
-    public int hashCode() {
-        final int prime = 31;
-        int result = 1;
-        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
-        result = prime * result + ((getEquipNo() == null) ? 0 : getEquipNo().hashCode());
-        result = prime * result + ((getFromNode() == null) ? 0 : getFromNode().hashCode());
-        result = prime * result + ((getRepairReason() == null) ? 0 : getRepairReason().hashCode());
-        result = prime * result + ((getToNode() == null) ? 0 : getToNode().hashCode());
-        result = prime * result + ((getRepairBy() == null) ? 0 : getRepairBy().hashCode());
-        result = prime * result + ((getRepairTime() == null) ? 0 : getRepairTime().hashCode());
-        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
-        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
-        return result;
-    }
-
-    @Override
-    public String toString() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(getClass().getSimpleName());
-        sb.append(" [");
-        sb.append("Hash = ").append(hashCode());
-        sb.append(", id=").append(id);
-        sb.append(", equipNo=").append(equipNo);
-        sb.append(", fromNode=").append(fromNode);
-        sb.append(", repairReason=").append(repairReason);
-        sb.append(", toNode=").append(toNode);
-        sb.append(", repairBy=").append(repairBy);
-        sb.append(", repairTime=").append(repairTime);
-        sb.append(", createTime=").append(createTime);
-        sb.append(", createBy=").append(createBy);
-        sb.append(", serialVersionUID=").append(serialVersionUID);
-        sb.append("]");
-        return sb.toString();
-    }
-}
\ No newline at end of file
+}

--
Gitblit v1.8.0