From 8247ccb1b4d8dfa5e1e8644cde340c43c2dffe00 Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 23 十月 2024 10:15:25 +0800
Subject: [PATCH] web分布式文件系统,增加一个分析文件hash值集合的方法

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java
index 0d4ba02..f54d0c8 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java
@@ -1,12 +1,16 @@
 package com.dy.pmsGlobal.pojoPlt;
 
-import com.baomidou.mybatisplus.annotation.*;
-
-import java.util.Date;
-
+import com.alibaba.fastjson2.annotation.JSONField;
+import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.dy.common.po.BaseEntity;
 import jakarta.validation.constraints.NotEmpty;
 import lombok.*;
 import org.hibernate.validator.constraints.Length;
+
+import java.util.Date;
 
 /**
  * 鐢熶骇绾胯〃
@@ -18,10 +22,11 @@
 @ToString
 @NoArgsConstructor
 @AllArgsConstructor
-public class PltProductionLine{
+public class PltProductionLine  implements BaseEntity {
     /**
      * 
      */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
     @TableId(type = IdType.AUTO)
     public Long id;
 
@@ -63,6 +68,10 @@
     public String installTime;
 
     /**
+     * 鏄惁绂佺敤锛�1鏄紝0鍚�
+     */
+    public Boolean disabled;
+    /**
      * 鏄惁鍒犻櫎锛�1鏄紝0鍚�
      */
     public Boolean deleted;

--
Gitblit v1.8.0