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() + ")"; + + } }