From abdfbf6dabca15594ed57a1560bcfffecb0ac854 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期一, 29 七月 2024 16:28:42 +0800
Subject: [PATCH] add number for product_log

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java |   25 +++++++++++++++++++++++--
 1 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java
index 781f504..ebdd309 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltStation.java
@@ -1,5 +1,7 @@
 package com.dy.pmsGlobal.pojoPlt;
 
+import com.alibaba.fastjson2.annotation.JSONField;
+import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
 import com.baomidou.mybatisplus.annotation.*;
 import com.dy.common.po.BaseEntity;
 import com.fasterxml.jackson.annotation.JsonFormat;
@@ -23,14 +25,24 @@
     /**
      * 
      */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
     @TableId(type = IdType.AUTO)
     public Long id;
 
     /**
+     * 鐢熶骇绾縤d
+     */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
+    public Long lineId;
+
+    @TableField(exist = false)
+    public String lineName;
+
+    /**
      * 缂栧彿
      */
-    @NotEmpty(message = "缂栧彿涓嶈兘涓虹┖")
-    @Length(message = "缂栧彿蹇呴』{max}浣嶆暟鎹�", min = 4, max = 4)
+//    @NotEmpty(message = "缂栧彿涓嶈兘涓虹┖")
+//    @Length(message = "缂栧彿蹇呴』{max}浣嶆暟鎹�", min = 4, max = 4)
     public String code;
 
     /**
@@ -52,8 +64,17 @@
     public Date dt;
 
     /**
+     * 鏄惁绂佺敤锛�1鏄紝0鍚�
+     */
+    public Boolean disabled;
+    /**
      * 鏄惁鍒犻櫎锛�1鏄紝0鍚�
      */
     public Boolean deleted;
+    /**
+     * 浜岀淮鐮�
+     */
+    @TableField(exist = false)
+    public String qrCode;
 
 }
\ No newline at end of file

--
Gitblit v1.8.0