@Override public void toData(DataOutput out) throws IOException { super.toData(out); out.writeInt(this.id); DataSerializer.writeObject(this.healthCode, out); }