From fe7dd147452db63980cc1db6be96a179e02d624c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=8E=E7=9B=9B?= Date: Tue, 21 May 2024 09:13:08 +0800 Subject: [PATCH] interface Validatable extends Serializable --- .../src/main/java/eu/chargetime/ocpp/model/Validatable.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ocpp-common/src/main/java/eu/chargetime/ocpp/model/Validatable.java b/ocpp-common/src/main/java/eu/chargetime/ocpp/model/Validatable.java index 215c87716..d39da22cd 100644 --- a/ocpp-common/src/main/java/eu/chargetime/ocpp/model/Validatable.java +++ b/ocpp-common/src/main/java/eu/chargetime/ocpp/model/Validatable.java @@ -27,8 +27,10 @@ of this software and associated documentation files (the "Software"), to deal SOFTWARE. */ +import java.io.Serializable; + /** Interface used to add a validation option on a model. */ -public interface Validatable { +public interface Validatable extends Serializable { /** * Validate if the model lives up to the specification. Must check if required fields are * correctly set and underlying models are valid.