From ee7f2c1ff8b8bdc2352db35dc26253ac8e4d832d Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期三, 24 七月 2024 11:06:30 +0800
Subject: [PATCH] check station API add check line disabled
---
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