From 167c1f4cd0d554cc6ba8a1dcd34da06f10463e38 Mon Sep 17 00:00:00 2001 From: lihongjie <982264618@qq.com> Date: Wed, 2 Oct 2024 11:25:01 +0800 Subject: [PATCH] bugfix --- .../coal/weightDevice/entity/WeightDeviceEntity.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/cn/lihongjie/coal/weightDevice/entity/WeightDeviceEntity.java b/src/main/java/cn/lihongjie/coal/weightDevice/entity/WeightDeviceEntity.java index 5d996b11..342b704f 100644 --- a/src/main/java/cn/lihongjie/coal/weightDevice/entity/WeightDeviceEntity.java +++ b/src/main/java/cn/lihongjie/coal/weightDevice/entity/WeightDeviceEntity.java @@ -28,4 +28,13 @@ public class WeightDeviceEntity extends OrgCommonEntity { @ElementCollection private List reserveFieldConfigList; + + @Override + public String toString() { + + // display name and code with class name prefix + + return "WeightDeviceEntity(" + "location=" + this.getLocation() + ")"; + + } }